/Volumes/compiler/apple/swift/include/swift/SIL/SILCloner.h
Line | Count | Source (jump to first uncovered line) |
1 | | //===--- SILCloner.h - Defines the SILCloner class --------------*- C++ -*-===// |
2 | | // |
3 | | // This source file is part of the Swift.org open source project |
4 | | // |
5 | | // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors |
6 | | // Licensed under Apache License v2.0 with Runtime Library Exception |
7 | | // |
8 | | // See https://swift.org/LICENSE.txt for license information |
9 | | // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors |
10 | | // |
11 | | //===----------------------------------------------------------------------===// |
12 | | // |
13 | | // This file defines the SILCloner class, used for cloning SIL instructions. |
14 | | // |
15 | | //===----------------------------------------------------------------------===// |
16 | | |
17 | | #ifndef SWIFT_SIL_SILCLONER_H |
18 | | #define SWIFT_SIL_SILCLONER_H |
19 | | |
20 | | #include "swift/AST/GenericEnvironment.h" |
21 | | #include "swift/AST/ProtocolConformance.h" |
22 | | #include "swift/SIL/BasicBlockUtils.h" |
23 | | #include "swift/SIL/DebugUtils.h" |
24 | | #include "swift/SIL/Dominance.h" |
25 | | #include "swift/SIL/SILBuilder.h" |
26 | | #include "swift/SIL/SILDebugScope.h" |
27 | | #include "swift/SIL/SILInstruction.h" |
28 | | #include "swift/SIL/SILVisitor.h" |
29 | | |
30 | | namespace swift { |
31 | | |
32 | | /// SILCloner - Abstract SIL visitor which knows how to clone instructions and |
33 | | /// whose behavior can be customized by subclasses via the CRTP. This is meant |
34 | | /// to be subclassed to implement inlining, function specialization, and other |
35 | | /// operations requiring cloning (while possibly modifying, at the same time) |
36 | | /// instruction sequences. |
37 | | /// |
38 | | /// By default, this visitor will not do anything useful when called on a |
39 | | /// basic block, or function; subclasses that want to handle those should |
40 | | /// implement the appropriate visit functions and/or provide other entry points. |
41 | | template<typename ImplClass> |
42 | | class SILCloner : protected SILInstructionVisitor<ImplClass> { |
43 | | friend class SILVisitorBase<ImplClass>; |
44 | | friend class SILInstructionVisitor<ImplClass>; |
45 | | |
46 | | |
47 | | protected: |
48 | | /// MARK: Context shared with CRTP extensions. |
49 | | |
50 | | SILBuilder Builder; |
51 | | DominanceInfo *DomTree = nullptr; |
52 | | TypeSubstitutionMap LocalArchetypeSubs; |
53 | | |
54 | | // The old-to-new value map. |
55 | | llvm::DenseMap<SILValue, SILValue> ValueMap; |
56 | | |
57 | | /// The old-to-new block map. Some entries may be premapped with original |
58 | | /// blocks. |
59 | | llvm::DenseMap<SILBasicBlock*, SILBasicBlock*> BBMap; |
60 | | |
61 | | private: |
62 | | /// MARK: Private state hidden from CRTP extensions. |
63 | | |
64 | | // The original blocks in DFS preorder. All blocks in this list are mapped. |
65 | | // After cloning, this represents the entire cloned CFG. |
66 | | // |
67 | | // This could always be rediscovered by the client, but caching it is a |
68 | | // convenient way to iterate over the cloned region. |
69 | | SmallVector<SILBasicBlock *, 8> preorderBlocks; |
70 | | |
71 | | // Keep track of the last cloned block in function order. For single block |
72 | | // regions, this will be the start block. |
73 | | SILBasicBlock *lastClonedBB = nullptr; |
74 | | |
75 | | public: |
76 | | using SILInstructionVisitor<ImplClass>::asImpl; |
77 | | |
78 | | explicit SILCloner(SILFunction &F, DominanceInfo *DT = nullptr) |
79 | 553k | : Builder(F), DomTree(DT) {}_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 339 | : Builder(F), DomTree(DT) {} |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 1.31k | : Builder(F), DomTree(DT) {} |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 155 | : Builder(F), DomTree(DT) {} |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 128 | : Builder(F), DomTree(DT) {} |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 257 | : Builder(F), DomTree(DT) {} |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 390 | : Builder(F), DomTree(DT) {} |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 10 | : Builder(F), DomTree(DT) {} |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 2.62k | : Builder(F), DomTree(DT) {} |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 8 | : Builder(F), DomTree(DT) {} |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 1 | : Builder(F), DomTree(DT) {} |
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 182 | : Builder(F), DomTree(DT) {} |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 5 | : Builder(F), DomTree(DT) {} |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 384 | : Builder(F), DomTree(DT) {} |
_ZN5swift9SILClonerINS_16BasicBlockClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 350k | : Builder(F), DomTree(DT) {} |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE _ZN5swift9SILClonerINS_13GenericClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 25.9k | : Builder(F), DomTree(DT) {} |
_ZN5swift9SILClonerINS_15SILInlineClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 160k | : Builder(F), DomTree(DT) {} |
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE Line | Count | Source | 79 | 10.1k | : Builder(F), DomTree(DT) {} |
|
80 | | |
81 | 140 | explicit SILCloner(SILGlobalVariable *GlobVar) : Builder(GlobVar) {}Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEEC2EPNS_17SILGlobalVariableE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEEC2EPNS_17SILGlobalVariableE Line | Count | Source | 81 | 140 | explicit SILCloner(SILGlobalVariable *GlobVar) : Builder(GlobVar) {} |
|
82 | | |
83 | 128 | void clearClonerState() { |
84 | 128 | ValueMap.clear(); |
85 | 128 | BBMap.clear(); |
86 | 128 | preorderBlocks.clear(); |
87 | 128 | } |
88 | | |
89 | | /// Clients of SILCloner who want to know about any newly created |
90 | | /// instructions can install a SmallVector into the builder to collect them. |
91 | | void setTrackingList(SmallVectorImpl<SILInstruction*> *II) { |
92 | | getBuilder().setTrackingList(II); |
93 | | } |
94 | | |
95 | | SmallVectorImpl<SILInstruction*> *getTrackingList() { |
96 | | return getBuilder().getTrackingList(); |
97 | | } |
98 | | |
99 | 23.0M | SILBuilder &getBuilder() { return Builder; }Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE10getBuilderEv Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE10getBuilderEv _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE10getBuilderEv Line | Count | Source | 99 | 12 | SILBuilder &getBuilder() { return Builder; } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE10getBuilderEv Line | Count | Source | 99 | 11.0k | SILBuilder &getBuilder() { return Builder; } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE10getBuilderEv Line | Count | Source | 99 | 57.3k | SILBuilder &getBuilder() { return Builder; } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE10getBuilderEv Line | Count | Source | 99 | 70.5k | SILBuilder &getBuilder() { return Builder; } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE10getBuilderEv Line | Count | Source | 99 | 362k | SILBuilder &getBuilder() { return Builder; } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE10getBuilderEv Line | Count | Source | 99 | 5.39k | SILBuilder &getBuilder() { return Builder; } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE10getBuilderEv Line | Count | Source | 99 | 192k | SILBuilder &getBuilder() { return Builder; } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE10getBuilderEv Line | Count | Source | 99 | 917 | SILBuilder &getBuilder() { return Builder; } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE10getBuilderEv ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE10getBuilderEv Line | Count | Source | 99 | 1.86k | SILBuilder &getBuilder() { return Builder; } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE10getBuilderEv Line | Count | Source | 99 | 118k | SILBuilder &getBuilder() { return Builder; } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE10getBuilderEv Line | Count | Source | 99 | 1.46k | SILBuilder &getBuilder() { return Builder; } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE10getBuilderEv _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE10getBuilderEv Line | Count | Source | 99 | 8.61k | SILBuilder &getBuilder() { return Builder; } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE10getBuilderEv Line | Count | Source | 99 | 2.52k | SILBuilder &getBuilder() { return Builder; } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE10getBuilderEv Line | Count | Source | 99 | 2.89k | SILBuilder &getBuilder() { return Builder; } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE10getBuilderEv _ZN5swift9SILClonerINS_13GenericClonerEE10getBuilderEv Line | Count | Source | 99 | 5.79M | SILBuilder &getBuilder() { return Builder; } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE10getBuilderEv Line | Count | Source | 99 | 16.3M | SILBuilder &getBuilder() { return Builder; } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE10getBuilderEv Line | Count | Source | 99 | 33.3k | SILBuilder &getBuilder() { return Builder; } |
|
100 | | |
101 | | // After cloning, returns a non-null pointer to the last cloned block in |
102 | | // function order. For single block regions, this will be the start block. |
103 | 160k | SILBasicBlock *getLastClonedBB() { return lastClonedBB; } |
104 | | |
105 | | /// Visit all blocks reachable from the given `StartBB` and all instructions |
106 | | /// in those blocks. |
107 | | /// |
108 | | /// This is used to clone a region within a function and mutates the original |
109 | | /// function. `StartBB` cannot be the function entry block. |
110 | | /// |
111 | | /// The entire CFG is discovered in DFS preorder while cloning non-terminator |
112 | | /// instructions. `visitTerminator` is called in the same order, but only |
113 | | /// after mapping all blocks. |
114 | | void cloneReachableBlocks(SILBasicBlock *startBB, |
115 | | ArrayRef<SILBasicBlock *> exitBlocks, |
116 | | SILBasicBlock *insertAfterBB = nullptr, |
117 | | bool havePrepopulatedFunctionArgs = false); |
118 | | |
119 | | /// Clone all blocks in this function and all instructions in those |
120 | | /// blocks. |
121 | | /// |
122 | | /// This is used to clone an entire function and should not mutate the |
123 | | /// original function except if \p replaceOriginalFunctionInPlace is true. |
124 | | /// |
125 | | /// entryArgs must have a SILValue from the cloned function corresponding to |
126 | | /// each argument in the original function `F`. |
127 | | /// |
128 | | /// Cloned instructions are inserted starting at the end of clonedEntryBB. |
129 | | void cloneFunctionBody(SILFunction *F, SILBasicBlock *clonedEntryBB, |
130 | | ArrayRef<SILValue> entryArgs, |
131 | | bool replaceOriginalFunctionInPlace = false); |
132 | | |
133 | | /// The same as clone function body, except the caller can provide a callback |
134 | | /// that allows for an entry arg to be assigned to a custom old argument. This |
135 | | /// is useful if one re-arranges parameters when converting from inout to out. |
136 | | void |
137 | | cloneFunctionBody(SILFunction *F, SILBasicBlock *clonedEntryBB, |
138 | | ArrayRef<SILValue> entryArgs, |
139 | | llvm::function_ref<SILValue(SILValue)> entryArgToOldArgMap); |
140 | | |
141 | | /// MARK: Callback utilities used from CRTP extensions during cloning. |
142 | | /// These should only be called from within an instruction cloning visitor. |
143 | | |
144 | | /// Visitor callback that registers a cloned instruction. All the original |
145 | | /// instruction's results are mapped onto the cloned instruction's results for |
146 | | /// use within the cloned region. |
147 | | /// |
148 | | /// CRTP extensions can |
149 | | /// override the implementation via `postProcess`. |
150 | 7.34M | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { |
151 | 7.34M | asImpl().postProcess(Orig, Cloned); |
152 | 7.34M | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || |
153 | 7.34M | Builder.isInsertingIntoGlobal()) |
154 | 7.34M | && "cloned instruction dropped debug scope"); |
155 | 7.34M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23recordClonedInstructionEPNS_14SILInstructionES4_ _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23recordClonedInstructionEPNS_14SILInstructionES4_ Line | Count | Source | 150 | 4 | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 4 | asImpl().postProcess(Orig, Cloned); | 152 | 4 | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 4 | Builder.isInsertingIntoGlobal()) | 154 | 4 | && "cloned instruction dropped debug scope"); | 155 | 4 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23recordClonedInstructionEPNS_14SILInstructionES6_ Line | Count | Source | 150 | 3.57k | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 3.57k | asImpl().postProcess(Orig, Cloned); | 152 | 3.57k | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 3.57k | Builder.isInsertingIntoGlobal()) | 154 | 3.57k | && "cloned instruction dropped debug scope"); | 155 | 3.57k | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23recordClonedInstructionEPNS_14SILInstructionES6_ Line | Count | Source | 150 | 18.3k | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 18.3k | asImpl().postProcess(Orig, Cloned); | 152 | 18.3k | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 18.3k | Builder.isInsertingIntoGlobal()) | 154 | 18.3k | && "cloned instruction dropped debug scope"); | 155 | 18.3k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ Line | Count | Source | 150 | 24.4k | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 24.4k | asImpl().postProcess(Orig, Cloned); | 152 | 24.4k | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 24.4k | Builder.isInsertingIntoGlobal()) | 154 | 24.4k | && "cloned instruction dropped debug scope"); | 155 | 24.4k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE23recordClonedInstructionEPNS_14SILInstructionES4_ Line | Count | Source | 150 | 84.6k | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 84.6k | asImpl().postProcess(Orig, Cloned); | 152 | 84.6k | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 84.6k | Builder.isInsertingIntoGlobal()) | 154 | 84.6k | && "cloned instruction dropped debug scope"); | 155 | 84.6k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ Line | Count | Source | 150 | 1.81k | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 1.81k | asImpl().postProcess(Orig, Cloned); | 152 | 1.81k | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 1.81k | Builder.isInsertingIntoGlobal()) | 154 | 1.81k | && "cloned instruction dropped debug scope"); | 155 | 1.81k | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ Line | Count | Source | 150 | 69.0k | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 69.0k | asImpl().postProcess(Orig, Cloned); | 152 | 69.0k | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 69.0k | Builder.isInsertingIntoGlobal()) | 154 | 69.0k | && "cloned instruction dropped debug scope"); | 155 | 69.0k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23recordClonedInstructionEPNS_14SILInstructionES5_ Line | Count | Source | 150 | 390 | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 390 | asImpl().postProcess(Orig, Cloned); | 152 | 390 | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 390 | Builder.isInsertingIntoGlobal()) | 154 | 390 | && "cloned instruction dropped debug scope"); | 155 | 390 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ Line | Count | Source | 150 | 660 | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 660 | asImpl().postProcess(Orig, Cloned); | 152 | 660 | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 660 | Builder.isInsertingIntoGlobal()) | 154 | 660 | && "cloned instruction dropped debug scope"); | 155 | 660 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ Line | Count | Source | 150 | 41.9k | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 41.9k | asImpl().postProcess(Orig, Cloned); | 152 | 41.9k | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 41.9k | Builder.isInsertingIntoGlobal()) | 154 | 41.9k | && "cloned instruction dropped debug scope"); | 155 | 41.9k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ Line | Count | Source | 150 | 538 | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 538 | asImpl().postProcess(Orig, Cloned); | 152 | 538 | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 538 | Builder.isInsertingIntoGlobal()) | 154 | 538 | && "cloned instruction dropped debug scope"); | 155 | 538 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23recordClonedInstructionEPNS_14SILInstructionES4_ Line | Count | Source | 150 | 3.42k | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 3.42k | asImpl().postProcess(Orig, Cloned); | 152 | 3.42k | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 3.42k | Builder.isInsertingIntoGlobal()) | 154 | 3.42k | && "cloned instruction dropped debug scope"); | 155 | 3.42k | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ Line | Count | Source | 150 | 1.01k | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 1.01k | asImpl().postProcess(Orig, Cloned); | 152 | 1.01k | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 1.01k | Builder.isInsertingIntoGlobal()) | 154 | 1.01k | && "cloned instruction dropped debug scope"); | 155 | 1.01k | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ Line | Count | Source | 150 | 674 | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 674 | asImpl().postProcess(Orig, Cloned); | 152 | 674 | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 674 | Builder.isInsertingIntoGlobal()) | 154 | 674 | && "cloned instruction dropped debug scope"); | 155 | 674 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23recordClonedInstructionEPNS_14SILInstructionES5_ _ZN5swift9SILClonerINS_13GenericClonerEE23recordClonedInstructionEPNS_14SILInstructionES4_ Line | Count | Source | 150 | 1.92M | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 1.92M | asImpl().postProcess(Orig, Cloned); | 152 | 1.92M | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 1.92M | Builder.isInsertingIntoGlobal()) | 154 | 1.92M | && "cloned instruction dropped debug scope"); | 155 | 1.92M | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE23recordClonedInstructionEPNS_14SILInstructionES4_ Line | Count | Source | 150 | 5.16M | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 5.16M | asImpl().postProcess(Orig, Cloned); | 152 | 5.16M | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 5.16M | Builder.isInsertingIntoGlobal()) | 154 | 5.16M | && "cloned instruction dropped debug scope"); | 155 | 5.16M | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_ Line | Count | Source | 150 | 10.1k | void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) { | 151 | 10.1k | asImpl().postProcess(Orig, Cloned); | 152 | 10.1k | assert((!Orig->getDebugScope() || Cloned->getDebugScope() || | 153 | 10.1k | Builder.isInsertingIntoGlobal()) | 154 | 10.1k | && "cloned instruction dropped debug scope"); | 155 | 10.1k | } |
|
156 | | |
157 | | /// Visitor callback that maps an original value to an existing value when the |
158 | | /// original instruction will not be cloned. This is used when the instruction |
159 | | /// visitor can fold away the cloned instruction, and it skips the usual |
160 | | /// `postProcess()` callback. recordClonedInstruction() and |
161 | | /// recordFoldedValue() are the only two ways for a visitor to map an original |
162 | | /// value to another value for use within the cloned region. |
163 | 1.93k | void recordFoldedValue(SILValue origValue, SILValue mappedValue) { |
164 | 1.93k | asImpl().mapValue(origValue, mappedValue); |
165 | 1.93k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17recordFoldedValueENS_8SILValueES4_ Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17recordFoldedValueENS_8SILValueES3_ Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17recordFoldedValueENS_8SILValueES3_ Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17recordFoldedValueENS_8SILValueES5_ Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17recordFoldedValueENS_8SILValueES5_ Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17recordFoldedValueENS_8SILValueES4_ Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17recordFoldedValueENS_8SILValueES3_ Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17recordFoldedValueENS_8SILValueES4_ Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17recordFoldedValueENS_8SILValueES4_ Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17recordFoldedValueENS_8SILValueES4_ Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17recordFoldedValueENS_8SILValueES4_ Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17recordFoldedValueENS_8SILValueES4_ Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17recordFoldedValueENS_8SILValueES4_ CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17recordFoldedValueENS_8SILValueES4_ Line | Count | Source | 163 | 8 | void recordFoldedValue(SILValue origValue, SILValue mappedValue) { | 164 | 8 | asImpl().mapValue(origValue, mappedValue); | 165 | 8 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17recordFoldedValueENS_8SILValueES4_ Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17recordFoldedValueENS_8SILValueES3_ AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17recordFoldedValueENS_8SILValueES4_ Line | Count | Source | 163 | 9 | void recordFoldedValue(SILValue origValue, SILValue mappedValue) { | 164 | 9 | asImpl().mapValue(origValue, mappedValue); | 165 | 9 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17recordFoldedValueENS_8SILValueES4_ Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17recordFoldedValueENS_8SILValueES4_ _ZN5swift9SILClonerINS_13GenericClonerEE17recordFoldedValueENS_8SILValueES3_ Line | Count | Source | 163 | 1 | void recordFoldedValue(SILValue origValue, SILValue mappedValue) { | 164 | 1 | asImpl().mapValue(origValue, mappedValue); | 165 | 1 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17recordFoldedValueENS_8SILValueES3_ Line | Count | Source | 163 | 1.91k | void recordFoldedValue(SILValue origValue, SILValue mappedValue) { | 164 | 1.91k | asImpl().mapValue(origValue, mappedValue); | 165 | 1.91k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17recordFoldedValueENS_8SILValueES4_ |
166 | | |
167 | | /// Register a re-mapping for local archetypes such as opened existentials. |
168 | | void registerLocalArchetypeRemapping(ArchetypeType *From, |
169 | 5.35k | ArchetypeType *To) { |
170 | 5.35k | auto result = LocalArchetypeSubs.insert( |
171 | 5.35k | std::make_pair(CanArchetypeType(From), CanType(To))); |
172 | 5.35k | assert(result.second); |
173 | 0 | (void)result; |
174 | 5.35k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_ Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_ Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES6_ _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES6_ Line | Count | Source | 169 | 1 | ArchetypeType *To) { | 170 | 1 | auto result = LocalArchetypeSubs.insert( | 171 | 1 | std::make_pair(CanArchetypeType(From), CanType(To))); | 172 | 1 | assert(result.second); | 173 | 0 | (void)result; | 174 | 1 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ Line | Count | Source | 169 | 244 | ArchetypeType *To) { | 170 | 244 | auto result = LocalArchetypeSubs.insert( | 171 | 244 | std::make_pair(CanArchetypeType(From), CanType(To))); | 172 | 244 | assert(result.second); | 173 | 0 | (void)result; | 174 | 244 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_ Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ Line | Count | Source | 169 | 2 | ArchetypeType *To) { | 170 | 2 | auto result = LocalArchetypeSubs.insert( | 171 | 2 | std::make_pair(CanArchetypeType(From), CanType(To))); | 172 | 2 | assert(result.second); | 173 | 0 | (void)result; | 174 | 2 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ Line | Count | Source | 169 | 5 | ArchetypeType *To) { | 170 | 5 | auto result = LocalArchetypeSubs.insert( | 171 | 5 | std::make_pair(CanArchetypeType(From), CanType(To))); | 172 | 5 | assert(result.second); | 173 | 0 | (void)result; | 174 | 5 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ Line | Count | Source | 169 | 4 | ArchetypeType *To) { | 170 | 4 | auto result = LocalArchetypeSubs.insert( | 171 | 4 | std::make_pair(CanArchetypeType(From), CanType(To))); | 172 | 4 | assert(result.second); | 173 | 0 | (void)result; | 174 | 4 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_ AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ Line | Count | Source | 169 | 6 | ArchetypeType *To) { | 170 | 6 | auto result = LocalArchetypeSubs.insert( | 171 | 6 | std::make_pair(CanArchetypeType(From), CanType(To))); | 172 | 6 | assert(result.second); | 173 | 0 | (void)result; | 174 | 6 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ Line | Count | Source | 169 | 384 | ArchetypeType *To) { | 170 | 384 | auto result = LocalArchetypeSubs.insert( | 171 | 384 | std::make_pair(CanArchetypeType(From), CanType(To))); | 172 | 384 | assert(result.second); | 173 | 0 | (void)result; | 174 | 384 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ _ZN5swift9SILClonerINS_13GenericClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_ Line | Count | Source | 169 | 1.67k | ArchetypeType *To) { | 170 | 1.67k | auto result = LocalArchetypeSubs.insert( | 171 | 1.67k | std::make_pair(CanArchetypeType(From), CanType(To))); | 172 | 1.67k | assert(result.second); | 173 | 0 | (void)result; | 174 | 1.67k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_ Line | Count | Source | 169 | 3.03k | ArchetypeType *To) { | 170 | 3.03k | auto result = LocalArchetypeSubs.insert( | 171 | 3.03k | std::make_pair(CanArchetypeType(From), CanType(To))); | 172 | 3.03k | assert(result.second); | 173 | 0 | (void)result; | 174 | 3.03k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_ |
175 | | |
176 | | /// MARK: Public access to the cloned state, during and after cloning. |
177 | | |
178 | | /// After cloning, provides a list of all cloned blocks in DFS preorder. |
179 | 30 | ArrayRef<SILBasicBlock *> originalPreorderBlocks() const { |
180 | 30 | return preorderBlocks; |
181 | 30 | } |
182 | | |
183 | 7.42M | SILLocation getOpLocation(SILLocation Loc) { |
184 | 7.42M | return asImpl().remapLocation(Loc); |
185 | 7.42M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13getOpLocationENS_11SILLocationE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13getOpLocationENS_11SILLocationE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 3 | SILLocation getOpLocation(SILLocation Loc) { | 184 | 3 | return asImpl().remapLocation(Loc); | 185 | 3 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 3.03k | SILLocation getOpLocation(SILLocation Loc) { | 184 | 3.03k | return asImpl().remapLocation(Loc); | 185 | 3.03k | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 16.1k | SILLocation getOpLocation(SILLocation Loc) { | 184 | 16.1k | return asImpl().remapLocation(Loc); | 185 | 16.1k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 21.3k | SILLocation getOpLocation(SILLocation Loc) { | 184 | 21.3k | return asImpl().remapLocation(Loc); | 185 | 21.3k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 83.0k | SILLocation getOpLocation(SILLocation Loc) { | 184 | 83.0k | return asImpl().remapLocation(Loc); | 185 | 83.0k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 1.57k | SILLocation getOpLocation(SILLocation Loc) { | 184 | 1.57k | return asImpl().remapLocation(Loc); | 185 | 1.57k | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 68.0k | SILLocation getOpLocation(SILLocation Loc) { | 184 | 68.0k | return asImpl().remapLocation(Loc); | 185 | 68.0k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 332 | SILLocation getOpLocation(SILLocation Loc) { | 184 | 332 | return asImpl().remapLocation(Loc); | 185 | 332 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13getOpLocationENS_11SILLocationE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 630 | SILLocation getOpLocation(SILLocation Loc) { | 184 | 630 | return asImpl().remapLocation(Loc); | 185 | 630 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 41.9k | SILLocation getOpLocation(SILLocation Loc) { | 184 | 41.9k | return asImpl().remapLocation(Loc); | 185 | 41.9k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 522 | SILLocation getOpLocation(SILLocation Loc) { | 184 | 522 | return asImpl().remapLocation(Loc); | 185 | 522 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13getOpLocationENS_11SILLocationE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 3.42k | SILLocation getOpLocation(SILLocation Loc) { | 184 | 3.42k | return asImpl().remapLocation(Loc); | 185 | 3.42k | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 972 | SILLocation getOpLocation(SILLocation Loc) { | 184 | 972 | return asImpl().remapLocation(Loc); | 185 | 972 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 674 | SILLocation getOpLocation(SILLocation Loc) { | 184 | 674 | return asImpl().remapLocation(Loc); | 185 | 674 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13getOpLocationENS_11SILLocationE _ZN5swift9SILClonerINS_13GenericClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 1.90M | SILLocation getOpLocation(SILLocation Loc) { | 184 | 1.90M | return asImpl().remapLocation(Loc); | 185 | 1.90M | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 5.26M | SILLocation getOpLocation(SILLocation Loc) { | 184 | 5.26M | return asImpl().remapLocation(Loc); | 185 | 5.26M | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13getOpLocationENS_11SILLocationE Line | Count | Source | 183 | 10.0k | SILLocation getOpLocation(SILLocation Loc) { | 184 | 10.0k | return asImpl().remapLocation(Loc); | 185 | 10.0k | } |
|
186 | | |
187 | 8.17M | const SILDebugScope *getOpScope(const SILDebugScope *DS) { |
188 | 8.17M | return asImpl().remapScope(DS); |
189 | 8.17M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE10getOpScopeEPKNS_13SILDebugScopeE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE10getOpScopeEPKNS_13SILDebugScopeE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 4 | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 4 | return asImpl().remapScope(DS); | 189 | 4 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 3.57k | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 3.57k | return asImpl().remapScope(DS); | 189 | 3.57k | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 21.9k | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 21.9k | return asImpl().remapScope(DS); | 189 | 21.9k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 24.5k | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 24.5k | return asImpl().remapScope(DS); | 189 | 24.5k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 84.6k | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 84.6k | return asImpl().remapScope(DS); | 189 | 84.6k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 1.81k | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 1.81k | return asImpl().remapScope(DS); | 189 | 1.81k | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 69.0k | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 69.0k | return asImpl().remapScope(DS); | 189 | 69.0k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 391 | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 391 | return asImpl().remapScope(DS); | 189 | 391 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE10getOpScopeEPKNS_13SILDebugScopeE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 660 | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 660 | return asImpl().remapScope(DS); | 189 | 660 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 42.0k | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 42.0k | return asImpl().remapScope(DS); | 189 | 42.0k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 568 | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 568 | return asImpl().remapScope(DS); | 189 | 568 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE10getOpScopeEPKNS_13SILDebugScopeE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 3.42k | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 3.42k | return asImpl().remapScope(DS); | 189 | 3.42k | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 1.01k | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 1.01k | return asImpl().remapScope(DS); | 189 | 1.01k | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 674 | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 674 | return asImpl().remapScope(DS); | 189 | 674 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE10getOpScopeEPKNS_13SILDebugScopeE _ZN5swift9SILClonerINS_13GenericClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 1.92M | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 1.92M | return asImpl().remapScope(DS); | 189 | 1.92M | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 5.98M | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 5.98M | return asImpl().remapScope(DS); | 189 | 5.98M | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE10getOpScopeEPKNS_13SILDebugScopeE Line | Count | Source | 187 | 10.2k | const SILDebugScope *getOpScope(const SILDebugScope *DS) { | 188 | 10.2k | return asImpl().remapScope(DS); | 189 | 10.2k | } |
|
190 | | |
191 | 1.84M | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { |
192 | | // If we have local archetypes to substitute, check whether that's |
193 | | // relevant to this particular substitution. |
194 | 1.84M | if (!LocalArchetypeSubs.empty()) { |
195 | 42.1k | if (Subs.hasLocalArchetypes()) { |
196 | | // If we found a type containing a local archetype, substitute |
197 | | // open existentials throughout the substitution map. |
198 | 5.65k | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, |
199 | 5.65k | MakeAbstractConformanceForGenericType()); |
200 | 5.65k | } |
201 | 42.1k | } |
202 | | |
203 | 1.84M | return asImpl().remapSubstitutionMap(Subs) |
204 | 1.84M | .getCanonical(/*canonicalizeSignature*/false); |
205 | 1.84M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 1 | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 1 | if (!LocalArchetypeSubs.empty()) { | 195 | 0 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 0 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 0 | MakeAbstractConformanceForGenericType()); | 200 | 0 | } | 201 | 0 | } | 202 | | | 203 | 1 | return asImpl().remapSubstitutionMap(Subs) | 204 | 1 | .getCanonical(/*canonicalizeSignature*/false); | 205 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 480 | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 480 | if (!LocalArchetypeSubs.empty()) { | 195 | 0 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 0 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 0 | MakeAbstractConformanceForGenericType()); | 200 | 0 | } | 201 | 0 | } | 202 | | | 203 | 480 | return asImpl().remapSubstitutionMap(Subs) | 204 | 480 | .getCanonical(/*canonicalizeSignature*/false); | 205 | 480 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 1.92k | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 1.92k | if (!LocalArchetypeSubs.empty()) { | 195 | 1 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 1 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 1 | MakeAbstractConformanceForGenericType()); | 200 | 1 | } | 201 | 1 | } | 202 | | | 203 | 1.92k | return asImpl().remapSubstitutionMap(Subs) | 204 | 1.92k | .getCanonical(/*canonicalizeSignature*/false); | 205 | 1.92k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 3.47k | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 3.47k | if (!LocalArchetypeSubs.empty()) { | 195 | 2.73k | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 470 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 470 | MakeAbstractConformanceForGenericType()); | 200 | 470 | } | 201 | 2.73k | } | 202 | | | 203 | 3.47k | return asImpl().remapSubstitutionMap(Subs) | 204 | 3.47k | .getCanonical(/*canonicalizeSignature*/false); | 205 | 3.47k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 7.52k | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 7.52k | if (!LocalArchetypeSubs.empty()) { | 195 | 0 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 0 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 0 | MakeAbstractConformanceForGenericType()); | 200 | 0 | } | 201 | 0 | } | 202 | | | 203 | 7.52k | return asImpl().remapSubstitutionMap(Subs) | 204 | 7.52k | .getCanonical(/*canonicalizeSignature*/false); | 205 | 7.52k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 382 | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 382 | if (!LocalArchetypeSubs.empty()) { | 195 | 0 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 0 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 0 | MakeAbstractConformanceForGenericType()); | 200 | 0 | } | 201 | 0 | } | 202 | | | 203 | 382 | return asImpl().remapSubstitutionMap(Subs) | 204 | 382 | .getCanonical(/*canonicalizeSignature*/false); | 205 | 382 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 16.9k | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 16.9k | if (!LocalArchetypeSubs.empty()) { | 195 | 44 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 2 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 2 | MakeAbstractConformanceForGenericType()); | 200 | 2 | } | 201 | 44 | } | 202 | | | 203 | 16.9k | return asImpl().remapSubstitutionMap(Subs) | 204 | 16.9k | .getCanonical(/*canonicalizeSignature*/false); | 205 | 16.9k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 46 | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 46 | if (!LocalArchetypeSubs.empty()) { | 195 | 0 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 0 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 0 | MakeAbstractConformanceForGenericType()); | 200 | 0 | } | 201 | 0 | } | 202 | | | 203 | 46 | return asImpl().remapSubstitutionMap(Subs) | 204 | 46 | .getCanonical(/*canonicalizeSignature*/false); | 205 | 46 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 154 | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 154 | if (!LocalArchetypeSubs.empty()) { | 195 | 32 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 4 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 4 | MakeAbstractConformanceForGenericType()); | 200 | 4 | } | 201 | 32 | } | 202 | | | 203 | 154 | return asImpl().remapSubstitutionMap(Subs) | 204 | 154 | .getCanonical(/*canonicalizeSignature*/false); | 205 | 154 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 20.9k | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 20.9k | if (!LocalArchetypeSubs.empty()) { | 195 | 0 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 0 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 0 | MakeAbstractConformanceForGenericType()); | 200 | 0 | } | 201 | 0 | } | 202 | | | 203 | 20.9k | return asImpl().remapSubstitutionMap(Subs) | 204 | 20.9k | .getCanonical(/*canonicalizeSignature*/false); | 205 | 20.9k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 62 | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 62 | if (!LocalArchetypeSubs.empty()) { | 195 | 0 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 0 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 0 | MakeAbstractConformanceForGenericType()); | 200 | 0 | } | 201 | 0 | } | 202 | | | 203 | 62 | return asImpl().remapSubstitutionMap(Subs) | 204 | 62 | .getCanonical(/*canonicalizeSignature*/false); | 205 | 62 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 579 | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 579 | if (!LocalArchetypeSubs.empty()) { | 195 | 0 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 0 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 0 | MakeAbstractConformanceForGenericType()); | 200 | 0 | } | 201 | 0 | } | 202 | | | 203 | 579 | return asImpl().remapSubstitutionMap(Subs) | 204 | 579 | .getCanonical(/*canonicalizeSignature*/false); | 205 | 579 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 160 | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 160 | if (!LocalArchetypeSubs.empty()) { | 195 | 126 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 6 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 6 | MakeAbstractConformanceForGenericType()); | 200 | 6 | } | 201 | 126 | } | 202 | | | 203 | 160 | return asImpl().remapSubstitutionMap(Subs) | 204 | 160 | .getCanonical(/*canonicalizeSignature*/false); | 205 | 160 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 486 | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 486 | if (!LocalArchetypeSubs.empty()) { | 195 | 486 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 486 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 486 | MakeAbstractConformanceForGenericType()); | 200 | 486 | } | 201 | 486 | } | 202 | | | 203 | 486 | return asImpl().remapSubstitutionMap(Subs) | 204 | 486 | .getCanonical(/*canonicalizeSignature*/false); | 205 | 486 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20getOpSubstitutionMapENS_15SubstitutionMapE _ZN5swift9SILClonerINS_13GenericClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 400k | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 400k | if (!LocalArchetypeSubs.empty()) { | 195 | 32.8k | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 1.34k | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 1.34k | MakeAbstractConformanceForGenericType()); | 200 | 1.34k | } | 201 | 32.8k | } | 202 | | | 203 | 400k | return asImpl().remapSubstitutionMap(Subs) | 204 | 400k | .getCanonical(/*canonicalizeSignature*/false); | 205 | 400k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 1.38M | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 1.38M | if (!LocalArchetypeSubs.empty()) { | 195 | 5.90k | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 3.33k | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 3.33k | MakeAbstractConformanceForGenericType()); | 200 | 3.33k | } | 201 | 5.90k | } | 202 | | | 203 | 1.38M | return asImpl().remapSubstitutionMap(Subs) | 204 | 1.38M | .getCanonical(/*canonicalizeSignature*/false); | 205 | 1.38M | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 191 | 2.83k | SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) { | 192 | | // If we have local archetypes to substitute, check whether that's | 193 | | // relevant to this particular substitution. | 194 | 2.83k | if (!LocalArchetypeSubs.empty()) { | 195 | 0 | if (Subs.hasLocalArchetypes()) { | 196 | | // If we found a type containing a local archetype, substitute | 197 | | // open existentials throughout the substitution map. | 198 | 0 | Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 199 | 0 | MakeAbstractConformanceForGenericType()); | 200 | 0 | } | 201 | 0 | } | 202 | | | 203 | 2.83k | return asImpl().remapSubstitutionMap(Subs) | 204 | 2.83k | .getCanonical(/*canonicalizeSignature*/false); | 205 | 2.83k | } |
|
206 | | |
207 | 5.01M | SILType getTypeInClonedContext(SILType Ty) { |
208 | 5.01M | auto objectTy = Ty.getASTType(); |
209 | | // Do not substitute local archetypes, if we do not have any. |
210 | 5.01M | if (!objectTy->hasLocalArchetype()) |
211 | 5.00M | return Ty; |
212 | | // Do not substitute local archetypes, if it is not required. |
213 | | // This is often the case when cloning basic blocks inside the same |
214 | | // function. |
215 | 10.2k | if (LocalArchetypeSubs.empty()) |
216 | 0 | return Ty; |
217 | | |
218 | | // Substitute local archetypes, if we have any. |
219 | 10.2k | return Ty.subst( |
220 | 10.2k | Builder.getModule(), |
221 | 10.2k | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, |
222 | 10.2k | MakeAbstractConformanceForGenericType(), |
223 | 10.2k | CanGenericSignature()); |
224 | 10.2k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22getTypeInClonedContextENS_7SILTypeE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22getTypeInClonedContextENS_7SILTypeE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 1 | SILType getTypeInClonedContext(SILType Ty) { | 208 | 1 | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 1 | if (!objectTy->hasLocalArchetype()) | 211 | 1 | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 0 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 0 | return Ty.subst( | 220 | 0 | Builder.getModule(), | 221 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 0 | MakeAbstractConformanceForGenericType(), | 223 | 0 | CanGenericSignature()); | 224 | 0 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 2.57k | SILType getTypeInClonedContext(SILType Ty) { | 208 | 2.57k | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 2.57k | if (!objectTy->hasLocalArchetype()) | 211 | 2.57k | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 0 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 0 | return Ty.subst( | 220 | 0 | Builder.getModule(), | 221 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 0 | MakeAbstractConformanceForGenericType(), | 223 | 0 | CanGenericSignature()); | 224 | 0 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 12.0k | SILType getTypeInClonedContext(SILType Ty) { | 208 | 12.0k | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 12.0k | if (!objectTy->hasLocalArchetype()) | 211 | 12.0k | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 2 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 2 | return Ty.subst( | 220 | 2 | Builder.getModule(), | 221 | 2 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 2 | MakeAbstractConformanceForGenericType(), | 223 | 2 | CanGenericSignature()); | 224 | 2 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 13.1k | SILType getTypeInClonedContext(SILType Ty) { | 208 | 13.1k | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 13.1k | if (!objectTy->hasLocalArchetype()) | 211 | 12.4k | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 717 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 717 | return Ty.subst( | 220 | 717 | Builder.getModule(), | 221 | 717 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 717 | MakeAbstractConformanceForGenericType(), | 223 | 717 | CanGenericSignature()); | 224 | 717 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 41.2k | SILType getTypeInClonedContext(SILType Ty) { | 208 | 41.2k | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 41.2k | if (!objectTy->hasLocalArchetype()) | 211 | 41.2k | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 0 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 0 | return Ty.subst( | 220 | 0 | Builder.getModule(), | 221 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 0 | MakeAbstractConformanceForGenericType(), | 223 | 0 | CanGenericSignature()); | 224 | 0 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 861 | SILType getTypeInClonedContext(SILType Ty) { | 208 | 861 | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 861 | if (!objectTy->hasLocalArchetype()) | 211 | 861 | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 0 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 0 | return Ty.subst( | 220 | 0 | Builder.getModule(), | 221 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 0 | MakeAbstractConformanceForGenericType(), | 223 | 0 | CanGenericSignature()); | 224 | 0 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 42.1k | SILType getTypeInClonedContext(SILType Ty) { | 208 | 42.1k | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 42.1k | if (!objectTy->hasLocalArchetype()) | 211 | 42.1k | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 2 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 2 | return Ty.subst( | 220 | 2 | Builder.getModule(), | 221 | 2 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 2 | MakeAbstractConformanceForGenericType(), | 223 | 2 | CanGenericSignature()); | 224 | 2 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 127 | SILType getTypeInClonedContext(SILType Ty) { | 208 | 127 | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 127 | if (!objectTy->hasLocalArchetype()) | 211 | 122 | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 5 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 5 | return Ty.subst( | 220 | 5 | Builder.getModule(), | 221 | 5 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 5 | MakeAbstractConformanceForGenericType(), | 223 | 5 | CanGenericSignature()); | 224 | 5 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22getTypeInClonedContextENS_7SILTypeE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 296 | SILType getTypeInClonedContext(SILType Ty) { | 208 | 296 | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 296 | if (!objectTy->hasLocalArchetype()) | 211 | 292 | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 4 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 4 | return Ty.subst( | 220 | 4 | Builder.getModule(), | 221 | 4 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 4 | MakeAbstractConformanceForGenericType(), | 223 | 4 | CanGenericSignature()); | 224 | 4 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 36.7k | SILType getTypeInClonedContext(SILType Ty) { | 208 | 36.7k | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 36.7k | if (!objectTy->hasLocalArchetype()) | 211 | 36.7k | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 0 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 0 | return Ty.subst( | 220 | 0 | Builder.getModule(), | 221 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 0 | MakeAbstractConformanceForGenericType(), | 223 | 0 | CanGenericSignature()); | 224 | 0 | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 128 | SILType getTypeInClonedContext(SILType Ty) { | 208 | 128 | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 128 | if (!objectTy->hasLocalArchetype()) | 211 | 128 | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 0 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 0 | return Ty.subst( | 220 | 0 | Builder.getModule(), | 221 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 0 | MakeAbstractConformanceForGenericType(), | 223 | 0 | CanGenericSignature()); | 224 | 0 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22getTypeInClonedContextENS_7SILTypeE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 2.87k | SILType getTypeInClonedContext(SILType Ty) { | 208 | 2.87k | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 2.87k | if (!objectTy->hasLocalArchetype()) | 211 | 2.87k | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 0 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 0 | return Ty.subst( | 220 | 0 | Builder.getModule(), | 221 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 0 | MakeAbstractConformanceForGenericType(), | 223 | 0 | CanGenericSignature()); | 224 | 0 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 285 | SILType getTypeInClonedContext(SILType Ty) { | 208 | 285 | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 285 | if (!objectTy->hasLocalArchetype()) | 211 | 279 | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 6 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 6 | return Ty.subst( | 220 | 6 | Builder.getModule(), | 221 | 6 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 6 | MakeAbstractConformanceForGenericType(), | 223 | 6 | CanGenericSignature()); | 224 | 6 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 4 | SILType getTypeInClonedContext(SILType Ty) { | 208 | 4 | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 4 | if (!objectTy->hasLocalArchetype()) | 211 | 2 | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 2 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 2 | return Ty.subst( | 220 | 2 | Builder.getModule(), | 221 | 2 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 2 | MakeAbstractConformanceForGenericType(), | 223 | 2 | CanGenericSignature()); | 224 | 2 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22getTypeInClonedContextENS_7SILTypeE _ZN5swift9SILClonerINS_13GenericClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 1.19M | SILType getTypeInClonedContext(SILType Ty) { | 208 | 1.19M | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 1.19M | if (!objectTy->hasLocalArchetype()) | 211 | 1.19M | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 3.05k | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 3.05k | return Ty.subst( | 220 | 3.05k | Builder.getModule(), | 221 | 3.05k | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 3.05k | MakeAbstractConformanceForGenericType(), | 223 | 3.05k | CanGenericSignature()); | 224 | 3.05k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 3.65M | SILType getTypeInClonedContext(SILType Ty) { | 208 | 3.65M | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 3.65M | if (!objectTy->hasLocalArchetype()) | 211 | 3.64M | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 6.43k | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 6.43k | return Ty.subst( | 220 | 6.43k | Builder.getModule(), | 221 | 6.43k | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 6.43k | MakeAbstractConformanceForGenericType(), | 223 | 6.43k | CanGenericSignature()); | 224 | 6.43k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22getTypeInClonedContextENS_7SILTypeE Line | Count | Source | 207 | 6.40k | SILType getTypeInClonedContext(SILType Ty) { | 208 | 6.40k | auto objectTy = Ty.getASTType(); | 209 | | // Do not substitute local archetypes, if we do not have any. | 210 | 6.40k | if (!objectTy->hasLocalArchetype()) | 211 | 6.40k | return Ty; | 212 | | // Do not substitute local archetypes, if it is not required. | 213 | | // This is often the case when cloning basic blocks inside the same | 214 | | // function. | 215 | 0 | if (LocalArchetypeSubs.empty()) | 216 | 0 | return Ty; | 217 | | | 218 | | // Substitute local archetypes, if we have any. | 219 | 0 | return Ty.subst( | 220 | 0 | Builder.getModule(), | 221 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 222 | 0 | MakeAbstractConformanceForGenericType(), | 223 | 0 | CanGenericSignature()); | 224 | 0 | } |
|
225 | 5.01M | SILType getOpType(SILType Ty) { |
226 | 5.01M | Ty = getTypeInClonedContext(Ty); |
227 | 5.01M | return asImpl().remapType(Ty); |
228 | 5.01M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE9getOpTypeENS_7SILTypeE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE9getOpTypeENS_7SILTypeE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 1 | SILType getOpType(SILType Ty) { | 226 | 1 | Ty = getTypeInClonedContext(Ty); | 227 | 1 | return asImpl().remapType(Ty); | 228 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 2.57k | SILType getOpType(SILType Ty) { | 226 | 2.57k | Ty = getTypeInClonedContext(Ty); | 227 | 2.57k | return asImpl().remapType(Ty); | 228 | 2.57k | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 12.0k | SILType getOpType(SILType Ty) { | 226 | 12.0k | Ty = getTypeInClonedContext(Ty); | 227 | 12.0k | return asImpl().remapType(Ty); | 228 | 12.0k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 13.1k | SILType getOpType(SILType Ty) { | 226 | 13.1k | Ty = getTypeInClonedContext(Ty); | 227 | 13.1k | return asImpl().remapType(Ty); | 228 | 13.1k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 41.2k | SILType getOpType(SILType Ty) { | 226 | 41.2k | Ty = getTypeInClonedContext(Ty); | 227 | 41.2k | return asImpl().remapType(Ty); | 228 | 41.2k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 861 | SILType getOpType(SILType Ty) { | 226 | 861 | Ty = getTypeInClonedContext(Ty); | 227 | 861 | return asImpl().remapType(Ty); | 228 | 861 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 42.1k | SILType getOpType(SILType Ty) { | 226 | 42.1k | Ty = getTypeInClonedContext(Ty); | 227 | 42.1k | return asImpl().remapType(Ty); | 228 | 42.1k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 127 | SILType getOpType(SILType Ty) { | 226 | 127 | Ty = getTypeInClonedContext(Ty); | 227 | 127 | return asImpl().remapType(Ty); | 228 | 127 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE9getOpTypeENS_7SILTypeE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 296 | SILType getOpType(SILType Ty) { | 226 | 296 | Ty = getTypeInClonedContext(Ty); | 227 | 296 | return asImpl().remapType(Ty); | 228 | 296 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 36.7k | SILType getOpType(SILType Ty) { | 226 | 36.7k | Ty = getTypeInClonedContext(Ty); | 227 | 36.7k | return asImpl().remapType(Ty); | 228 | 36.7k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 128 | SILType getOpType(SILType Ty) { | 226 | 128 | Ty = getTypeInClonedContext(Ty); | 227 | 128 | return asImpl().remapType(Ty); | 228 | 128 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE9getOpTypeENS_7SILTypeE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 2.87k | SILType getOpType(SILType Ty) { | 226 | 2.87k | Ty = getTypeInClonedContext(Ty); | 227 | 2.87k | return asImpl().remapType(Ty); | 228 | 2.87k | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 285 | SILType getOpType(SILType Ty) { | 226 | 285 | Ty = getTypeInClonedContext(Ty); | 227 | 285 | return asImpl().remapType(Ty); | 228 | 285 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 4 | SILType getOpType(SILType Ty) { | 226 | 4 | Ty = getTypeInClonedContext(Ty); | 227 | 4 | return asImpl().remapType(Ty); | 228 | 4 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE9getOpTypeENS_7SILTypeE _ZN5swift9SILClonerINS_13GenericClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 1.19M | SILType getOpType(SILType Ty) { | 226 | 1.19M | Ty = getTypeInClonedContext(Ty); | 227 | 1.19M | return asImpl().remapType(Ty); | 228 | 1.19M | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 3.65M | SILType getOpType(SILType Ty) { | 226 | 3.65M | Ty = getTypeInClonedContext(Ty); | 227 | 3.65M | return asImpl().remapType(Ty); | 228 | 3.65M | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE9getOpTypeENS_7SILTypeE Line | Count | Source | 225 | 6.40k | SILType getOpType(SILType Ty) { | 226 | 6.40k | Ty = getTypeInClonedContext(Ty); | 227 | 6.40k | return asImpl().remapType(Ty); | 228 | 6.40k | } |
|
229 | | |
230 | 121k | CanType getASTTypeInClonedContext(Type ty) { |
231 | | // Do not substitute local archetypes, if we do not have any. |
232 | 121k | if (!ty->hasLocalArchetype()) |
233 | 115k | return ty->getCanonicalType(); |
234 | | // Do not substitute local archetypes, if it is not required. |
235 | | // This is often the case when cloning basic blocks inside the same |
236 | | // function. |
237 | 5.43k | if (LocalArchetypeSubs.empty()) |
238 | 0 | return ty->getCanonicalType(); |
239 | | |
240 | 5.43k | return ty.subst( |
241 | 5.43k | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, |
242 | 5.43k | MakeAbstractConformanceForGenericType() |
243 | 5.43k | )->getCanonicalType(); |
244 | 5.43k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25getASTTypeInClonedContextENS_4TypeE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25getASTTypeInClonedContextENS_4TypeE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25getASTTypeInClonedContextENS_4TypeE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 30 | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 30 | if (!ty->hasLocalArchetype()) | 233 | 30 | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 0 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 0 | return ty.subst( | 241 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 0 | MakeAbstractConformanceForGenericType() | 243 | 0 | )->getCanonicalType(); | 244 | 0 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 616 | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 616 | if (!ty->hasLocalArchetype()) | 233 | 614 | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 2 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 2 | return ty.subst( | 241 | 2 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 2 | MakeAbstractConformanceForGenericType() | 243 | 2 | )->getCanonicalType(); | 244 | 2 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 1.50k | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 1.50k | if (!ty->hasLocalArchetype()) | 233 | 1.02k | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 484 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 484 | return ty.subst( | 241 | 484 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 484 | MakeAbstractConformanceForGenericType() | 243 | 484 | )->getCanonicalType(); | 244 | 484 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 16 | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 16 | if (!ty->hasLocalArchetype()) | 233 | 16 | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 0 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 0 | return ty.subst( | 241 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 0 | MakeAbstractConformanceForGenericType() | 243 | 0 | )->getCanonicalType(); | 244 | 0 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 2 | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 2 | if (!ty->hasLocalArchetype()) | 233 | 2 | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 0 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 0 | return ty.subst( | 241 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 0 | MakeAbstractConformanceForGenericType() | 243 | 0 | )->getCanonicalType(); | 244 | 0 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 43 | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 43 | if (!ty->hasLocalArchetype()) | 233 | 39 | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 4 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 4 | return ty.subst( | 241 | 4 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 4 | MakeAbstractConformanceForGenericType() | 243 | 4 | )->getCanonicalType(); | 244 | 4 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 9 | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 9 | if (!ty->hasLocalArchetype()) | 233 | 9 | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 0 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 0 | return ty.subst( | 241 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 0 | MakeAbstractConformanceForGenericType() | 243 | 0 | )->getCanonicalType(); | 244 | 0 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25getASTTypeInClonedContextENS_4TypeE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 24 | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 24 | if (!ty->hasLocalArchetype()) | 233 | 24 | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 0 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 0 | return ty.subst( | 241 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 0 | MakeAbstractConformanceForGenericType() | 243 | 0 | )->getCanonicalType(); | 244 | 0 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25getASTTypeInClonedContextENS_4TypeE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25getASTTypeInClonedContextENS_4TypeE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25getASTTypeInClonedContextENS_4TypeE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25getASTTypeInClonedContextENS_4TypeE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 19 | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 19 | if (!ty->hasLocalArchetype()) | 233 | 7 | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 12 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 12 | return ty.subst( | 241 | 12 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 12 | MakeAbstractConformanceForGenericType() | 243 | 12 | )->getCanonicalType(); | 244 | 12 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 368 | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 368 | if (!ty->hasLocalArchetype()) | 233 | 0 | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 368 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 368 | return ty.subst( | 241 | 368 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 368 | MakeAbstractConformanceForGenericType() | 243 | 368 | )->getCanonicalType(); | 244 | 368 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25getASTTypeInClonedContextENS_4TypeE _ZN5swift9SILClonerINS_13GenericClonerEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 61.2k | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 61.2k | if (!ty->hasLocalArchetype()) | 233 | 59.3k | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 1.90k | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 1.90k | return ty.subst( | 241 | 1.90k | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 1.90k | MakeAbstractConformanceForGenericType() | 243 | 1.90k | )->getCanonicalType(); | 244 | 1.90k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 57.4k | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 57.4k | if (!ty->hasLocalArchetype()) | 233 | 54.7k | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 2.65k | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 2.65k | return ty.subst( | 241 | 2.65k | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 2.65k | MakeAbstractConformanceForGenericType() | 243 | 2.65k | )->getCanonicalType(); | 244 | 2.65k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25getASTTypeInClonedContextENS_4TypeE Line | Count | Source | 230 | 13 | CanType getASTTypeInClonedContext(Type ty) { | 231 | | // Do not substitute local archetypes, if we do not have any. | 232 | 13 | if (!ty->hasLocalArchetype()) | 233 | 13 | return ty->getCanonicalType(); | 234 | | // Do not substitute local archetypes, if it is not required. | 235 | | // This is often the case when cloning basic blocks inside the same | 236 | | // function. | 237 | 0 | if (LocalArchetypeSubs.empty()) | 238 | 0 | return ty->getCanonicalType(); | 239 | | | 240 | 0 | return ty.subst( | 241 | 0 | QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs}, | 242 | 0 | MakeAbstractConformanceForGenericType() | 243 | 0 | )->getCanonicalType(); | 244 | 0 | } |
|
245 | | |
246 | 70.2k | CanType getOpASTType(CanType ty) { |
247 | 70.2k | ty = getASTTypeInClonedContext(ty); |
248 | 70.2k | return asImpl().remapASTType(ty); |
249 | 70.2k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE12getOpASTTypeENS_7CanTypeE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE12getOpASTTypeENS_7CanTypeE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE12getOpASTTypeENS_7CanTypeE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 16 | CanType getOpASTType(CanType ty) { | 247 | 16 | ty = getASTTypeInClonedContext(ty); | 248 | 16 | return asImpl().remapASTType(ty); | 249 | 16 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 564 | CanType getOpASTType(CanType ty) { | 247 | 564 | ty = getASTTypeInClonedContext(ty); | 248 | 564 | return asImpl().remapASTType(ty); | 249 | 564 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 1.21k | CanType getOpASTType(CanType ty) { | 247 | 1.21k | ty = getASTTypeInClonedContext(ty); | 248 | 1.21k | return asImpl().remapASTType(ty); | 249 | 1.21k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 16 | CanType getOpASTType(CanType ty) { | 247 | 16 | ty = getASTTypeInClonedContext(ty); | 248 | 16 | return asImpl().remapASTType(ty); | 249 | 16 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 1 | CanType getOpASTType(CanType ty) { | 247 | 1 | ty = getASTTypeInClonedContext(ty); | 248 | 1 | return asImpl().remapASTType(ty); | 249 | 1 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 40 | CanType getOpASTType(CanType ty) { | 247 | 40 | ty = getASTTypeInClonedContext(ty); | 248 | 40 | return asImpl().remapASTType(ty); | 249 | 40 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 8 | CanType getOpASTType(CanType ty) { | 247 | 8 | ty = getASTTypeInClonedContext(ty); | 248 | 8 | return asImpl().remapASTType(ty); | 249 | 8 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE12getOpASTTypeENS_7CanTypeE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 24 | CanType getOpASTType(CanType ty) { | 247 | 24 | ty = getASTTypeInClonedContext(ty); | 248 | 24 | return asImpl().remapASTType(ty); | 249 | 24 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE12getOpASTTypeENS_7CanTypeE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE12getOpASTTypeENS_7CanTypeE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE12getOpASTTypeENS_7CanTypeE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE12getOpASTTypeENS_7CanTypeE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 13 | CanType getOpASTType(CanType ty) { | 247 | 13 | ty = getASTTypeInClonedContext(ty); | 248 | 13 | return asImpl().remapASTType(ty); | 249 | 13 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 185 | CanType getOpASTType(CanType ty) { | 247 | 185 | ty = getASTTypeInClonedContext(ty); | 248 | 185 | return asImpl().remapASTType(ty); | 249 | 185 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE12getOpASTTypeENS_7CanTypeE _ZN5swift9SILClonerINS_13GenericClonerEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 36.3k | CanType getOpASTType(CanType ty) { | 247 | 36.3k | ty = getASTTypeInClonedContext(ty); | 248 | 36.3k | return asImpl().remapASTType(ty); | 249 | 36.3k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 31.8k | CanType getOpASTType(CanType ty) { | 247 | 31.8k | ty = getASTTypeInClonedContext(ty); | 248 | 31.8k | return asImpl().remapASTType(ty); | 249 | 31.8k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE12getOpASTTypeENS_7CanTypeE Line | Count | Source | 246 | 13 | CanType getOpASTType(CanType ty) { | 247 | 13 | ty = getASTTypeInClonedContext(ty); | 248 | 13 | return asImpl().remapASTType(ty); | 249 | 13 | } |
|
250 | | |
251 | | /// Remap a structural index into a pack so that it will point to the |
252 | | /// corresponding structural index in the remapped pack type. |
253 | | unsigned getOpStructuralPackIndex(CanPackType origPackType, |
254 | 0 | unsigned origIndex) { |
255 | 0 | assert(origIndex < origPackType->getNumElements()); |
256 | 0 | unsigned newIndex = 0; |
257 | 0 | for (unsigned i = 0; i != origIndex; ++i) { |
258 | 0 | auto origComponentType = origPackType.getElementType(i); |
259 | 0 | if (auto origExpansionType = |
260 | 0 | dyn_cast<PackExpansionType>(origComponentType)) { |
261 | 0 | auto newShapeClass = getOpASTType(origExpansionType.getCountType()); |
262 | 0 | if (auto newShapePack = dyn_cast<PackType>(newShapeClass)) |
263 | 0 | newIndex += newShapePack->getNumElements(); |
264 | 0 | else |
265 | 0 | newIndex++; |
266 | 0 | } else { |
267 | 0 | newIndex++; |
268 | 0 | } |
269 | 0 | } |
270 | 0 | return newIndex; |
271 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj |
272 | | |
273 | | /// Does type substitution make the given tuple type no longer a tuple? |
274 | 0 | bool doesOpTupleDisappear(CanTupleType type) { |
275 | | // Fast-path the empty tuple. |
276 | 0 | if (type->getNumElements() == 0) return false; |
277 | | |
278 | | // Do a first pass over the tuple elements to check out the |
279 | | // non-expansions. If there's more than one of them we definitely |
280 | | // stay a tuple and don't need to substitute any of the expansions. |
281 | 0 | unsigned numScalarElements = type->getNumScalarElements(); |
282 | 0 | if (numScalarElements > 1) |
283 | 0 | return false; |
284 | | |
285 | | // Okay, we need to substitute the count types for the expansions. |
286 | 0 | for (auto index : indices(type->getElements())) { |
287 | | // Ignore non-expansions because we've already counted them. |
288 | 0 | auto expansion = dyn_cast<PackExpansionType>(type.getElementType(index)); |
289 | 0 | if (!expansion) { |
290 | | // If we have a non-expansion with a label, we stay a tuple. |
291 | 0 | if (type->getElement(index).hasName()) |
292 | 0 | return false; |
293 | 0 | continue; |
294 | 0 | } |
295 | | |
296 | | // Substitute the shape class of the expansion. |
297 | 0 | auto newShapeClass = getOpASTType(expansion.getCountType()); |
298 | 0 | auto newShapePack = dyn_cast<PackType>(newShapeClass); |
299 | | |
300 | | // If the element has a name, then the tuple sticks around unless |
301 | | // the expansion disappears completely. |
302 | 0 | if (type->getElement(index).hasName()) { |
303 | 0 | if (newShapePack && newShapePack->getNumElements() == 0) |
304 | 0 | continue; |
305 | 0 | return false; |
306 | 0 | } |
307 | | |
308 | | // Otherwise, walk the substituted shape components. |
309 | 0 | for (auto newShapeElement : newShapePack.getElementTypes()) { |
310 | | // If there's an expansion in the shape, we'll have an expansion |
311 | | // in the tuple elements, which forces the tuple structure to remain. |
312 | 0 | if (isa<PackExpansionType>(newShapeElement)) return false; |
313 | | |
314 | | // Otherwise, add another scalar element. |
315 | 0 | if (++numScalarElements > 1) return false; |
316 | 0 | } |
317 | 0 | } |
318 | | |
319 | | // All of the packs expanded to scalars. We should've short-circuited |
320 | | // if we ever saw a second or labeled scalar, so all we need to test |
321 | | // is whether we have exactly one scalar. |
322 | 0 | assert(numScalarElements <= 1); |
323 | 0 | return numScalarElements == 1; |
324 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE |
325 | | |
326 | 4.96k | void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) { |
327 | 4.96k | assert(archetypeTy->isRoot()); |
328 | | |
329 | 0 | auto sig = Builder.getFunction().getGenericSignature(); |
330 | 4.96k | auto origExistentialTy = archetypeTy->getExistentialType() |
331 | 4.96k | ->getCanonicalType(); |
332 | 4.96k | auto substExistentialTy = getOpASTType(origExistentialTy); |
333 | 4.96k | auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig); |
334 | 4.96k | registerLocalArchetypeRemapping(archetypeTy, replacementTy); |
335 | 4.96k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Line | Count | Source | 326 | 1 | void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) { | 327 | 1 | assert(archetypeTy->isRoot()); | 328 | | | 329 | 0 | auto sig = Builder.getFunction().getGenericSignature(); | 330 | 1 | auto origExistentialTy = archetypeTy->getExistentialType() | 331 | 1 | ->getCanonicalType(); | 332 | 1 | auto substExistentialTy = getOpASTType(origExistentialTy); | 333 | 1 | auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig); | 334 | 1 | registerLocalArchetypeRemapping(archetypeTy, replacementTy); | 335 | 1 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Line | Count | Source | 326 | 244 | void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) { | 327 | 244 | assert(archetypeTy->isRoot()); | 328 | | | 329 | 0 | auto sig = Builder.getFunction().getGenericSignature(); | 330 | 244 | auto origExistentialTy = archetypeTy->getExistentialType() | 331 | 244 | ->getCanonicalType(); | 332 | 244 | auto substExistentialTy = getOpASTType(origExistentialTy); | 333 | 244 | auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig); | 334 | 244 | registerLocalArchetypeRemapping(archetypeTy, replacementTy); | 335 | 244 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Line | Count | Source | 326 | 2 | void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) { | 327 | 2 | assert(archetypeTy->isRoot()); | 328 | | | 329 | 0 | auto sig = Builder.getFunction().getGenericSignature(); | 330 | 2 | auto origExistentialTy = archetypeTy->getExistentialType() | 331 | 2 | ->getCanonicalType(); | 332 | 2 | auto substExistentialTy = getOpASTType(origExistentialTy); | 333 | 2 | auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig); | 334 | 2 | registerLocalArchetypeRemapping(archetypeTy, replacementTy); | 335 | 2 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Line | Count | Source | 326 | 5 | void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) { | 327 | 5 | assert(archetypeTy->isRoot()); | 328 | | | 329 | 0 | auto sig = Builder.getFunction().getGenericSignature(); | 330 | 5 | auto origExistentialTy = archetypeTy->getExistentialType() | 331 | 5 | ->getCanonicalType(); | 332 | 5 | auto substExistentialTy = getOpASTType(origExistentialTy); | 333 | 5 | auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig); | 334 | 5 | registerLocalArchetypeRemapping(archetypeTy, replacementTy); | 335 | 5 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Line | Count | Source | 326 | 4 | void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) { | 327 | 4 | assert(archetypeTy->isRoot()); | 328 | | | 329 | 0 | auto sig = Builder.getFunction().getGenericSignature(); | 330 | 4 | auto origExistentialTy = archetypeTy->getExistentialType() | 331 | 4 | ->getCanonicalType(); | 332 | 4 | auto substExistentialTy = getOpASTType(origExistentialTy); | 333 | 4 | auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig); | 334 | 4 | registerLocalArchetypeRemapping(archetypeTy, replacementTy); | 335 | 4 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Line | Count | Source | 326 | 6 | void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) { | 327 | 6 | assert(archetypeTy->isRoot()); | 328 | | | 329 | 0 | auto sig = Builder.getFunction().getGenericSignature(); | 330 | 6 | auto origExistentialTy = archetypeTy->getExistentialType() | 331 | 6 | ->getCanonicalType(); | 332 | 6 | auto substExistentialTy = getOpASTType(origExistentialTy); | 333 | 6 | auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig); | 334 | 6 | registerLocalArchetypeRemapping(archetypeTy, replacementTy); | 335 | 6 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE _ZN5swift9SILClonerINS_13GenericClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Line | Count | Source | 326 | 1.67k | void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) { | 327 | 1.67k | assert(archetypeTy->isRoot()); | 328 | | | 329 | 0 | auto sig = Builder.getFunction().getGenericSignature(); | 330 | 1.67k | auto origExistentialTy = archetypeTy->getExistentialType() | 331 | 1.67k | ->getCanonicalType(); | 332 | 1.67k | auto substExistentialTy = getOpASTType(origExistentialTy); | 333 | 1.67k | auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig); | 334 | 1.67k | registerLocalArchetypeRemapping(archetypeTy, replacementTy); | 335 | 1.67k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE Line | Count | Source | 326 | 3.03k | void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) { | 327 | 3.03k | assert(archetypeTy->isRoot()); | 328 | | | 329 | 0 | auto sig = Builder.getFunction().getGenericSignature(); | 330 | 3.03k | auto origExistentialTy = archetypeTy->getExistentialType() | 331 | 3.03k | ->getCanonicalType(); | 332 | 3.03k | auto substExistentialTy = getOpASTType(origExistentialTy); | 333 | 3.03k | auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig); | 334 | 3.03k | registerLocalArchetypeRemapping(archetypeTy, replacementTy); | 335 | 3.03k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE |
336 | | |
337 | | // SILCloner will take care of debug scope on the instruction |
338 | | // and this helper will remap the auxiliary debug scope too, if there is any. |
339 | 174k | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { |
340 | 174k | if (!DbgVarInst) |
341 | 0 | return; |
342 | 174k | auto VarInfo = DbgVarInst.getVarInfo(); |
343 | 174k | if (VarInfo && VarInfo->Scope) |
344 | 2.51k | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); |
345 | 174k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 1 | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 1 | if (!DbgVarInst) | 341 | 0 | return; | 342 | 1 | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 1 | if (VarInfo && VarInfo->Scope) | 344 | 0 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 854 | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 854 | if (!DbgVarInst) | 341 | 0 | return; | 342 | 854 | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 854 | if (VarInfo && VarInfo->Scope) | 344 | 0 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 854 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 3.76k | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 3.76k | if (!DbgVarInst) | 341 | 0 | return; | 342 | 3.76k | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 3.76k | if (VarInfo && VarInfo->Scope) | 344 | 0 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 3.76k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 3.91k | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 3.91k | if (!DbgVarInst) | 341 | 0 | return; | 342 | 3.91k | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 3.91k | if (VarInfo && VarInfo->Scope) | 344 | 135 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 3.91k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 1.54k | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 1.54k | if (!DbgVarInst) | 341 | 0 | return; | 342 | 1.54k | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 1.54k | if (VarInfo && VarInfo->Scope) | 344 | 49 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 1.54k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 370 | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 370 | if (!DbgVarInst) | 341 | 0 | return; | 342 | 370 | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 370 | if (VarInfo && VarInfo->Scope) | 344 | 0 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 370 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 1.79k | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 1.79k | if (!DbgVarInst) | 341 | 0 | return; | 342 | 1.79k | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 1.79k | if (VarInfo && VarInfo->Scope) | 344 | 55 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 1.79k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 86 | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 86 | if (!DbgVarInst) | 341 | 0 | return; | 342 | 86 | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 86 | if (VarInfo && VarInfo->Scope) | 344 | 1 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 86 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 82 | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 82 | if (!DbgVarInst) | 341 | 0 | return; | 342 | 82 | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 82 | if (VarInfo && VarInfo->Scope) | 344 | 0 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 82 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 27 | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 27 | if (!DbgVarInst) | 341 | 0 | return; | 342 | 27 | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 27 | if (VarInfo && VarInfo->Scope) | 344 | 27 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 27 | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 68 | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 68 | if (!DbgVarInst) | 341 | 0 | return; | 342 | 68 | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 68 | if (VarInfo && VarInfo->Scope) | 344 | 0 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 68 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17remapDebugVarInfoENS_20DebugVarCarryingInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 101 | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 101 | if (!DbgVarInst) | 341 | 0 | return; | 342 | 101 | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 101 | if (VarInfo && VarInfo->Scope) | 344 | 2 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 101 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 2 | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 2 | if (!DbgVarInst) | 341 | 0 | return; | 342 | 2 | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 2 | if (VarInfo && VarInfo->Scope) | 344 | 0 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 2 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17remapDebugVarInfoENS_20DebugVarCarryingInstE _ZN5swift9SILClonerINS_13GenericClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 57.2k | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 57.2k | if (!DbgVarInst) | 341 | 0 | return; | 342 | 57.2k | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 57.2k | if (VarInfo && VarInfo->Scope) | 344 | 524 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 57.2k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 104k | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 104k | if (!DbgVarInst) | 341 | 0 | return; | 342 | 104k | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 104k | if (VarInfo && VarInfo->Scope) | 344 | 1.68k | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 104k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE Line | Count | Source | 339 | 77 | void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) { | 340 | 77 | if (!DbgVarInst) | 341 | 0 | return; | 342 | 77 | auto VarInfo = DbgVarInst.getVarInfo(); | 343 | 77 | if (VarInfo && VarInfo->Scope) | 344 | 37 | DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope)); | 345 | 77 | } |
|
346 | | |
347 | | ProtocolConformanceRef getOpConformance(Type ty, |
348 | 51.0k | ProtocolConformanceRef conformance) { |
349 | | // If we have local archetypes to substitute, do so now. |
350 | 51.0k | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { |
351 | 2.62k | conformance = |
352 | 2.62k | conformance.subst(ty, |
353 | 2.62k | QueryTypeSubstitutionMapOrIdentity{ |
354 | 2.62k | LocalArchetypeSubs}, |
355 | 2.62k | MakeAbstractConformanceForGenericType()); |
356 | 2.62k | } |
357 | | |
358 | 51.0k | return asImpl().remapConformance(getASTTypeInClonedContext(ty), |
359 | 51.0k | conformance); |
360 | 51.0k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 348 | 14 | ProtocolConformanceRef conformance) { | 349 | | // If we have local archetypes to substitute, do so now. | 350 | 14 | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { | 351 | 0 | conformance = | 352 | 0 | conformance.subst(ty, | 353 | 0 | QueryTypeSubstitutionMapOrIdentity{ | 354 | 0 | LocalArchetypeSubs}, | 355 | 0 | MakeAbstractConformanceForGenericType()); | 356 | 0 | } | 357 | | | 358 | 14 | return asImpl().remapConformance(getASTTypeInClonedContext(ty), | 359 | 14 | conformance); | 360 | 14 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 348 | 52 | ProtocolConformanceRef conformance) { | 349 | | // If we have local archetypes to substitute, do so now. | 350 | 52 | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { | 351 | 1 | conformance = | 352 | 1 | conformance.subst(ty, | 353 | 1 | QueryTypeSubstitutionMapOrIdentity{ | 354 | 1 | LocalArchetypeSubs}, | 355 | 1 | MakeAbstractConformanceForGenericType()); | 356 | 1 | } | 357 | | | 358 | 52 | return asImpl().remapConformance(getASTTypeInClonedContext(ty), | 359 | 52 | conformance); | 360 | 52 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 348 | 289 | ProtocolConformanceRef conformance) { | 349 | | // If we have local archetypes to substitute, do so now. | 350 | 289 | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { | 351 | 233 | conformance = | 352 | 233 | conformance.subst(ty, | 353 | 233 | QueryTypeSubstitutionMapOrIdentity{ | 354 | 233 | LocalArchetypeSubs}, | 355 | 233 | MakeAbstractConformanceForGenericType()); | 356 | 233 | } | 357 | | | 358 | 289 | return asImpl().remapConformance(getASTTypeInClonedContext(ty), | 359 | 289 | conformance); | 360 | 289 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 348 | 1 | ProtocolConformanceRef conformance) { | 349 | | // If we have local archetypes to substitute, do so now. | 350 | 1 | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { | 351 | 0 | conformance = | 352 | 0 | conformance.subst(ty, | 353 | 0 | QueryTypeSubstitutionMapOrIdentity{ | 354 | 0 | LocalArchetypeSubs}, | 355 | 0 | MakeAbstractConformanceForGenericType()); | 356 | 0 | } | 357 | | | 358 | 1 | return asImpl().remapConformance(getASTTypeInClonedContext(ty), | 359 | 1 | conformance); | 360 | 1 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 348 | 3 | ProtocolConformanceRef conformance) { | 349 | | // If we have local archetypes to substitute, do so now. | 350 | 3 | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { | 351 | 2 | conformance = | 352 | 2 | conformance.subst(ty, | 353 | 2 | QueryTypeSubstitutionMapOrIdentity{ | 354 | 2 | LocalArchetypeSubs}, | 355 | 2 | MakeAbstractConformanceForGenericType()); | 356 | 2 | } | 357 | | | 358 | 3 | return asImpl().remapConformance(getASTTypeInClonedContext(ty), | 359 | 3 | conformance); | 360 | 3 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 348 | 1 | ProtocolConformanceRef conformance) { | 349 | | // If we have local archetypes to substitute, do so now. | 350 | 1 | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { | 351 | 0 | conformance = | 352 | 0 | conformance.subst(ty, | 353 | 0 | QueryTypeSubstitutionMapOrIdentity{ | 354 | 0 | LocalArchetypeSubs}, | 355 | 0 | MakeAbstractConformanceForGenericType()); | 356 | 0 | } | 357 | | | 358 | 1 | return asImpl().remapConformance(getASTTypeInClonedContext(ty), | 359 | 1 | conformance); | 360 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 348 | 6 | ProtocolConformanceRef conformance) { | 349 | | // If we have local archetypes to substitute, do so now. | 350 | 6 | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { | 351 | 6 | conformance = | 352 | 6 | conformance.subst(ty, | 353 | 6 | QueryTypeSubstitutionMapOrIdentity{ | 354 | 6 | LocalArchetypeSubs}, | 355 | 6 | MakeAbstractConformanceForGenericType()); | 356 | 6 | } | 357 | | | 358 | 6 | return asImpl().remapConformance(getASTTypeInClonedContext(ty), | 359 | 6 | conformance); | 360 | 6 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 348 | 183 | ProtocolConformanceRef conformance) { | 349 | | // If we have local archetypes to substitute, do so now. | 350 | 183 | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { | 351 | 183 | conformance = | 352 | 183 | conformance.subst(ty, | 353 | 183 | QueryTypeSubstitutionMapOrIdentity{ | 354 | 183 | LocalArchetypeSubs}, | 355 | 183 | MakeAbstractConformanceForGenericType()); | 356 | 183 | } | 357 | | | 358 | 183 | return asImpl().remapConformance(getASTTypeInClonedContext(ty), | 359 | 183 | conformance); | 360 | 183 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE _ZN5swift9SILClonerINS_13GenericClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 348 | 24.9k | ProtocolConformanceRef conformance) { | 349 | | // If we have local archetypes to substitute, do so now. | 350 | 24.9k | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { | 351 | 910 | conformance = | 352 | 910 | conformance.subst(ty, | 353 | 910 | QueryTypeSubstitutionMapOrIdentity{ | 354 | 910 | LocalArchetypeSubs}, | 355 | 910 | MakeAbstractConformanceForGenericType()); | 356 | 910 | } | 357 | | | 358 | 24.9k | return asImpl().remapConformance(getASTTypeInClonedContext(ty), | 359 | 24.9k | conformance); | 360 | 24.9k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 348 | 25.5k | ProtocolConformanceRef conformance) { | 349 | | // If we have local archetypes to substitute, do so now. | 350 | 25.5k | if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) { | 351 | 1.28k | conformance = | 352 | 1.28k | conformance.subst(ty, | 353 | 1.28k | QueryTypeSubstitutionMapOrIdentity{ | 354 | 1.28k | LocalArchetypeSubs}, | 355 | 1.28k | MakeAbstractConformanceForGenericType()); | 356 | 1.28k | } | 357 | | | 358 | 25.5k | return asImpl().remapConformance(getASTTypeInClonedContext(ty), | 359 | 25.5k | conformance); | 360 | 25.5k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE |
361 | | |
362 | | ArrayRef<ProtocolConformanceRef> |
363 | | getOpConformances(Type ty, |
364 | 7.35k | ArrayRef<ProtocolConformanceRef> conformances) { |
365 | 7.35k | SmallVector<ProtocolConformanceRef, 4> newConformances; |
366 | 7.35k | for (auto conformance : conformances) |
367 | 1.72k | newConformances.push_back(getOpConformance(ty, conformance)); |
368 | 7.35k | return ty->getASTContext().AllocateCopy(newConformances); |
369 | 7.35k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 1 | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 1 | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 1 | for (auto conformance : conformances) | 367 | 0 | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 1 | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 1 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 109 | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 109 | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 109 | for (auto conformance : conformances) | 367 | 39 | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 109 | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 109 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 6 | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 6 | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 6 | for (auto conformance : conformances) | 367 | 0 | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 6 | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 6 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 1 | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 1 | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 1 | for (auto conformance : conformances) | 367 | 1 | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 1 | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 1 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 47 | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 47 | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 47 | for (auto conformance : conformances) | 367 | 1 | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 47 | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 47 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 2 | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 2 | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 2 | for (auto conformance : conformances) | 367 | 0 | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 2 | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 2 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 1 | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 1 | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 1 | for (auto conformance : conformances) | 367 | 0 | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 1 | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 1 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 2 | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 2 | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 2 | for (auto conformance : conformances) | 367 | 0 | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 2 | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 2 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE _ZN5swift9SILClonerINS_13GenericClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 4.01k | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 4.01k | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 4.01k | for (auto conformance : conformances) | 367 | 1.17k | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 4.01k | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 4.01k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 3.14k | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 3.14k | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 3.14k | for (auto conformance : conformances) | 367 | 508 | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 3.14k | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 3.14k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE Line | Count | Source | 364 | 13 | ArrayRef<ProtocolConformanceRef> conformances) { | 365 | 13 | SmallVector<ProtocolConformanceRef, 4> newConformances; | 366 | 13 | for (auto conformance : conformances) | 367 | 0 | newConformances.push_back(getOpConformance(ty, conformance)); | 368 | 13 | return ty->getASTContext().AllocateCopy(newConformances); | 369 | 13 | } |
|
370 | | |
371 | 4.17k | bool isValueCloned(SILValue OrigValue) const { |
372 | 4.17k | return ValueMap.count(OrigValue); |
373 | 4.17k | } CapturePropagation.cpp:_ZNK5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13isValueClonedENS_8SILValueE Line | Count | Source | 371 | 198 | bool isValueCloned(SILValue OrigValue) const { | 372 | 198 | return ValueMap.count(OrigValue); | 373 | 198 | } |
_ZNK5swift9SILClonerINS_23ClonerWithFixedLocationEE13isValueClonedENS_8SILValueE Line | Count | Source | 371 | 3.97k | bool isValueCloned(SILValue OrigValue) const { | 372 | 3.97k | return ValueMap.count(OrigValue); | 373 | 3.97k | } |
|
374 | | |
375 | | /// Return the possibly new value representing the given value within the |
376 | | /// cloned region. |
377 | | /// |
378 | | /// Assumes that `isValueCloned` is true. |
379 | 2.64M | SILValue getOpValue(SILValue Value) { |
380 | 2.64M | return asImpl().getMappedValue(Value); |
381 | 2.64M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE10getOpValueENS_8SILValueE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE10getOpValueENS_8SILValueE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 3 | SILValue getOpValue(SILValue Value) { | 380 | 3 | return asImpl().getMappedValue(Value); | 381 | 3 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 4.71k | SILValue getOpValue(SILValue Value) { | 380 | 4.71k | return asImpl().getMappedValue(Value); | 381 | 4.71k | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 21.8k | SILValue getOpValue(SILValue Value) { | 380 | 21.8k | return asImpl().getMappedValue(Value); | 381 | 21.8k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 15.5k | SILValue getOpValue(SILValue Value) { | 380 | 15.5k | return asImpl().getMappedValue(Value); | 381 | 15.5k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 31.4k | SILValue getOpValue(SILValue Value) { | 380 | 31.4k | return asImpl().getMappedValue(Value); | 381 | 31.4k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 1.10k | SILValue getOpValue(SILValue Value) { | 380 | 1.10k | return asImpl().getMappedValue(Value); | 381 | 1.10k | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 28.3k | SILValue getOpValue(SILValue Value) { | 380 | 28.3k | return asImpl().getMappedValue(Value); | 381 | 28.3k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 302 | SILValue getOpValue(SILValue Value) { | 380 | 302 | return asImpl().getMappedValue(Value); | 381 | 302 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE10getOpValueENS_8SILValueE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 472 | SILValue getOpValue(SILValue Value) { | 380 | 472 | return asImpl().getMappedValue(Value); | 381 | 472 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 20.4k | SILValue getOpValue(SILValue Value) { | 380 | 20.4k | return asImpl().getMappedValue(Value); | 381 | 20.4k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 434 | SILValue getOpValue(SILValue Value) { | 380 | 434 | return asImpl().getMappedValue(Value); | 381 | 434 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE10getOpValueENS_8SILValueE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 233 | SILValue getOpValue(SILValue Value) { | 380 | 233 | return asImpl().getMappedValue(Value); | 381 | 233 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 650 | SILValue getOpValue(SILValue Value) { | 380 | 650 | return asImpl().getMappedValue(Value); | 381 | 650 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 489 | SILValue getOpValue(SILValue Value) { | 380 | 489 | return asImpl().getMappedValue(Value); | 381 | 489 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE10getOpValueENS_8SILValueE _ZN5swift9SILClonerINS_13GenericClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 788k | SILValue getOpValue(SILValue Value) { | 380 | 788k | return asImpl().getMappedValue(Value); | 381 | 788k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 1.72M | SILValue getOpValue(SILValue Value) { | 380 | 1.72M | return asImpl().getMappedValue(Value); | 381 | 1.72M | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE10getOpValueENS_8SILValueE Line | Count | Source | 379 | 5.19k | SILValue getOpValue(SILValue Value) { | 380 | 5.19k | return asImpl().getMappedValue(Value); | 381 | 5.19k | } |
|
382 | | template <size_t N, typename ArrayRefType> |
383 | 4.06M | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { |
384 | 4.06M | SmallVector<SILValue, N> Ret(Values.size()); |
385 | 9.70M | for (unsigned i = 0, e = Values.size(); i != e; ++i) |
386 | 5.64M | Ret[i] = asImpl().getMappedValue(Values[i]); |
387 | 4.06M | return Ret; |
388 | 4.06M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_ _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_ Line | Count | Source | 383 | 1 | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 1 | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 2 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 1 | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 1 | return Ret; | 388 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS7_ELb0EEEEEN4llvm11SmallVectorIS8_XT_EEET0_ Line | Count | Source | 383 | 192 | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 192 | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 470 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 278 | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 192 | return Ret; | 388 | 192 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS7_ELb0EEEEEN4llvm11SmallVectorIS8_XT_EEET0_ Line | Count | Source | 383 | 1.48k | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 1.48k | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 3.64k | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 2.16k | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 1.48k | return Ret; | 388 | 1.48k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Line | Count | Source | 383 | 8.91k | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 8.91k | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 19.2k | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 10.3k | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 8.91k | return Ret; | 388 | 8.91k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_ Line | Count | Source | 383 | 75.0k | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 75.0k | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 98.4k | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 23.3k | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 75.0k | return Ret; | 388 | 75.0k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Line | Count | Source | 383 | 476 | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 476 | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 1.25k | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 776 | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 476 | return Ret; | 388 | 476 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Line | Count | Source | 383 | 37.5k | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 37.5k | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 89.7k | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 52.2k | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 37.5k | return Ret; | 388 | 37.5k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Line | Count | Source | 383 | 87 | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 87 | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 186 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 99 | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 87 | return Ret; | 388 | 87 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Line | Count | Source | 383 | 280 | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 280 | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 624 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 344 | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 280 | return Ret; | 388 | 280 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Line | Count | Source | 383 | 31.4k | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 31.4k | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 81.2k | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 49.7k | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 31.4k | return Ret; | 388 | 31.4k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Line | Count | Source | 383 | 80 | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 80 | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 188 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 108 | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 80 | return Ret; | 388 | 80 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_ Line | Count | Source | 383 | 1.57k | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 1.57k | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 4.05k | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 2.48k | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 1.57k | return Ret; | 388 | 1.57k | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Line | Count | Source | 383 | 216 | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 216 | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 623 | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 407 | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 216 | return Ret; | 388 | 216 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Line | Count | Source | 383 | 486 | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 486 | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 1.49k | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 1.01k | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 486 | return Ret; | 388 | 486 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ _ZN5swift9SILClonerINS_13GenericClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_ Line | Count | Source | 383 | 981k | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 981k | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 2.20M | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 1.22M | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 981k | return Ret; | 388 | 981k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_ Line | Count | Source | 383 | 2.91M | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 2.91M | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 7.18M | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 4.26M | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 2.91M | return Ret; | 388 | 2.91M | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_ Line | Count | Source | 383 | 5.48k | SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) { | 384 | 5.48k | SmallVector<SILValue, N> Ret(Values.size()); | 385 | 11.2k | for (unsigned i = 0, e = Values.size(); i != e; ++i) | 386 | 5.76k | Ret[i] = asImpl().getMappedValue(Values[i]); | 387 | 5.48k | return Ret; | 388 | 5.48k | } |
|
389 | | |
390 | 376k | SILFunction *getOpFunction(SILFunction *Func) { |
391 | 376k | return asImpl().remapFunction(Func); |
392 | 376k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13getOpFunctionEPNS_11SILFunctionE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13getOpFunctionEPNS_11SILFunctionE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 1 | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 1 | return asImpl().remapFunction(Func); | 392 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 521 | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 521 | return asImpl().remapFunction(Func); | 392 | 521 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 2.35k | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 2.35k | return asImpl().remapFunction(Func); | 392 | 2.35k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 1.78k | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 1.78k | return asImpl().remapFunction(Func); | 392 | 1.78k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 3 | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 3 | return asImpl().remapFunction(Func); | 392 | 3 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 218 | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 218 | return asImpl().remapFunction(Func); | 392 | 218 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 2.96k | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 2.96k | return asImpl().remapFunction(Func); | 392 | 2.96k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 39 | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 39 | return asImpl().remapFunction(Func); | 392 | 39 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13getOpFunctionEPNS_11SILFunctionE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 36 | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 36 | return asImpl().remapFunction(Func); | 392 | 36 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13getOpFunctionEPNS_11SILFunctionE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 58 | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 58 | return asImpl().remapFunction(Func); | 392 | 58 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13getOpFunctionEPNS_11SILFunctionE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 92 | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 92 | return asImpl().remapFunction(Func); | 392 | 92 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 142 | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 142 | return asImpl().remapFunction(Func); | 392 | 142 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13getOpFunctionEPNS_11SILFunctionE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13getOpFunctionEPNS_11SILFunctionE _ZN5swift9SILClonerINS_13GenericClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 94.3k | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 94.3k | return asImpl().remapFunction(Func); | 392 | 94.3k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 274k | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 274k | return asImpl().remapFunction(Func); | 392 | 274k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13getOpFunctionEPNS_11SILFunctionE Line | Count | Source | 390 | 2 | SILFunction *getOpFunction(SILFunction *Func) { | 391 | 2 | return asImpl().remapFunction(Func); | 392 | 2 | } |
|
393 | | |
394 | 55.4k | bool isBlockCloned(SILBasicBlock *OrigBB) const { |
395 | 55.4k | auto bbIter = BBMap.find(OrigBB); |
396 | 55.4k | if (bbIter == BBMap.end()) |
397 | 16.9k | return false; |
398 | | |
399 | | // Exit blocks are mapped to themselves during region cloning. |
400 | 38.5k | return bbIter->second != OrigBB; |
401 | 55.4k | } _ZNK5swift9SILClonerINS_16BasicBlockClonerEE13isBlockClonedEPNS_13SILBasicBlockE Line | Count | Source | 394 | 54.8k | bool isBlockCloned(SILBasicBlock *OrigBB) const { | 395 | 54.8k | auto bbIter = BBMap.find(OrigBB); | 396 | 54.8k | if (bbIter == BBMap.end()) | 397 | 16.9k | return false; | 398 | | | 399 | | // Exit blocks are mapped to themselves during region cloning. | 400 | 37.9k | return bbIter->second != OrigBB; | 401 | 54.8k | } |
ArrayPropertyOpt.cpp:_ZNK5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13isBlockClonedEPNS_13SILBasicBlockE Line | Count | Source | 394 | 613 | bool isBlockCloned(SILBasicBlock *OrigBB) const { | 395 | 613 | auto bbIter = BBMap.find(OrigBB); | 396 | 613 | if (bbIter == BBMap.end()) | 397 | 3 | return false; | 398 | | | 399 | | // Exit blocks are mapped to themselves during region cloning. | 400 | 610 | return bbIter->second != OrigBB; | 401 | 613 | } |
|
402 | | |
403 | | /// Return the new block within the cloned region analagous to the given |
404 | | /// original block. |
405 | | /// |
406 | | /// Assumes that `isBlockCloned` is true. |
407 | 1.32M | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { |
408 | 1.32M | return asImpl().remapBasicBlock(BB); |
409 | 1.32M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15getOpBasicBlockEPNS_13SILBasicBlockE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 658 | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 658 | return asImpl().remapBasicBlock(BB); | 409 | 658 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 5.33k | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 5.33k | return asImpl().remapBasicBlock(BB); | 409 | 5.33k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 72.4k | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 72.4k | return asImpl().remapBasicBlock(BB); | 409 | 72.4k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 70 | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 70 | return asImpl().remapBasicBlock(BB); | 409 | 70 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 14.2k | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 14.2k | return asImpl().remapBasicBlock(BB); | 409 | 14.2k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 26 | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 26 | return asImpl().remapBasicBlock(BB); | 409 | 26 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 372 | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 372 | return asImpl().remapBasicBlock(BB); | 409 | 372 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 15.7k | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 15.7k | return asImpl().remapBasicBlock(BB); | 409 | 15.7k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 36 | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 36 | return asImpl().remapBasicBlock(BB); | 409 | 36 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15getOpBasicBlockEPNS_13SILBasicBlockE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 55 | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 55 | return asImpl().remapBasicBlock(BB); | 409 | 55 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15getOpBasicBlockEPNS_13SILBasicBlockE _ZN5swift9SILClonerINS_13GenericClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 391k | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 391k | return asImpl().remapBasicBlock(BB); | 409 | 391k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 817k | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 817k | return asImpl().remapBasicBlock(BB); | 409 | 817k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 407 | 2.40k | SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) { | 408 | 2.40k | return asImpl().remapBasicBlock(BB); | 409 | 2.40k | } |
|
410 | | |
411 | | protected: |
412 | | /// MARK: CRTP visitors and other CRTP overrides. |
413 | | |
414 | | #define INST(CLASS, PARENT) void visit##CLASS(CLASS *I); |
415 | | #include "swift/SIL/SILNodes.def" |
416 | | |
417 | | // Visit the instructions in a single basic block, not including the block |
418 | | // terminator. |
419 | | void visitInstructionsInBlock(SILBasicBlock *BB); |
420 | | |
421 | | // Visit a block's terminator. This is called with each block in DFS preorder |
422 | | // after visiting and mapping all basic blocks and after visiting all |
423 | | // non-terminator instructions in the block. |
424 | 79.5k | void visitTerminator(SILBasicBlock *BB) { |
425 | 79.5k | asImpl().visit(BB->getTerminator()); |
426 | 79.5k | } Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitTerminatorEPNS_13SILBasicBlockE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 1 | void visitTerminator(SILBasicBlock *BB) { | 425 | 1 | asImpl().visit(BB->getTerminator()); | 426 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 339 | void visitTerminator(SILBasicBlock *BB) { | 425 | 339 | asImpl().visit(BB->getTerminator()); | 426 | 339 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 1.81k | void visitTerminator(SILBasicBlock *BB) { | 425 | 1.81k | asImpl().visit(BB->getTerminator()); | 426 | 1.81k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 4.00k | void visitTerminator(SILBasicBlock *BB) { | 425 | 4.00k | asImpl().visit(BB->getTerminator()); | 426 | 4.00k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 54.1k | void visitTerminator(SILBasicBlock *BB) { | 425 | 54.1k | asImpl().visit(BB->getTerminator()); | 426 | 54.1k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 186 | void visitTerminator(SILBasicBlock *BB) { | 425 | 186 | asImpl().visit(BB->getTerminator()); | 426 | 186 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 10.9k | void visitTerminator(SILBasicBlock *BB) { | 425 | 10.9k | asImpl().visit(BB->getTerminator()); | 426 | 10.9k | } |
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 86 | void visitTerminator(SILBasicBlock *BB) { | 425 | 86 | asImpl().visit(BB->getTerminator()); | 426 | 86 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 7.87k | void visitTerminator(SILBasicBlock *BB) { | 425 | 7.87k | asImpl().visit(BB->getTerminator()); | 426 | 7.87k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 38 | void visitTerminator(SILBasicBlock *BB) { | 425 | 38 | asImpl().visit(BB->getTerminator()); | 426 | 38 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitTerminatorEPNS_13SILBasicBlockE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitTerminatorEPNS_13SILBasicBlockE Line | Count | Source | 424 | 49 | void visitTerminator(SILBasicBlock *BB) { | 425 | 49 | asImpl().visit(BB->getTerminator()); | 426 | 49 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitTerminatorEPNS_13SILBasicBlockE |
427 | | |
428 | | // CFG cloning requires cloneFunction() or cloneReachableBlocks(). |
429 | | void visitSILBasicBlock(SILFunction *F) = delete; |
430 | | |
431 | | // Function cloning requires cloneFunction(). |
432 | | void visitSILFunction(SILFunction *F) = delete; |
433 | | |
434 | | // MARK: SILCloner subclasses use the CRTP to customize the following callback |
435 | | // implementations. Remap functions are called before cloning to modify |
436 | | // constructor arguments. The postProcess function is called afterwards on |
437 | | // the result. |
438 | | |
439 | 2.15M | SILLocation remapLocation(SILLocation Loc) { return Loc; }Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13remapLocationENS_11SILLocationE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13remapLocationENS_11SILLocationE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 3 | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 3.03k | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 16.1k | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 21.3k | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 83.0k | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 68.0k | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 332 | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13remapLocationENS_11SILLocationE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 630 | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 41.9k | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 522 | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13remapLocationENS_11SILLocationE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 972 | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 674 | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13remapLocationENS_11SILLocationE _ZN5swift9SILClonerINS_13GenericClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 1.90M | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13remapLocationENS_11SILLocationE Line | Count | Source | 439 | 10.0k | SILLocation remapLocation(SILLocation Loc) { return Loc; } |
|
440 | 138k | const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; }Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE10remapScopeEPKNS_13SILDebugScopeE _ZN5swift9SILClonerINS_16BasicBlockClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 440 | 84.6k | const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 440 | 391 | const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; } |
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 440 | 660 | const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 440 | 42.0k | const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 440 | 674 | const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE10remapScopeEPKNS_13SILDebugScopeE SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 440 | 10.2k | const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; } |
|
441 | 130k | SILType remapType(SILType Ty) { |
442 | 130k | return Ty; |
443 | 130k | } Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE9remapTypeENS_7SILTypeE _ZN5swift9SILClonerINS_16BasicBlockClonerEE9remapTypeENS_7SILTypeE Line | Count | Source | 441 | 41.2k | SILType remapType(SILType Ty) { | 442 | 41.2k | return Ty; | 443 | 41.2k | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE9remapTypeENS_7SILTypeE Line | Count | Source | 441 | 42.1k | SILType remapType(SILType Ty) { | 442 | 42.1k | return Ty; | 443 | 42.1k | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE9remapTypeENS_7SILTypeE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE9remapTypeENS_7SILTypeE Line | Count | Source | 441 | 296 | SILType remapType(SILType Ty) { | 442 | 296 | return Ty; | 443 | 296 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE9remapTypeENS_7SILTypeE Line | Count | Source | 441 | 36.7k | SILType remapType(SILType Ty) { | 442 | 36.7k | return Ty; | 443 | 36.7k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE9remapTypeENS_7SILTypeE Line | Count | Source | 441 | 128 | SILType remapType(SILType Ty) { | 442 | 128 | return Ty; | 443 | 128 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE9remapTypeENS_7SILTypeE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE9remapTypeENS_7SILTypeE Line | Count | Source | 441 | 2.87k | SILType remapType(SILType Ty) { | 442 | 2.87k | return Ty; | 443 | 2.87k | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE9remapTypeENS_7SILTypeE Line | Count | Source | 441 | 285 | SILType remapType(SILType Ty) { | 442 | 285 | return Ty; | 443 | 285 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE9remapTypeENS_7SILTypeE Line | Count | Source | 441 | 4 | SILType remapType(SILType Ty) { | 442 | 4 | return Ty; | 443 | 4 | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE9remapTypeENS_7SILTypeE Line | Count | Source | 441 | 6.40k | SILType remapType(SILType Ty) { | 442 | 6.40k | return Ty; | 443 | 6.40k | } |
|
444 | | |
445 | 291 | CanType remapASTType(CanType Ty) { |
446 | 291 | return Ty; |
447 | 291 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE12remapASTTypeENS_7CanTypeE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE12remapASTTypeENS_7CanTypeE _ZN5swift9SILClonerINS_16BasicBlockClonerEE12remapASTTypeENS_7CanTypeE Line | Count | Source | 445 | 16 | CanType remapASTType(CanType Ty) { | 446 | 16 | return Ty; | 447 | 16 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE12remapASTTypeENS_7CanTypeE Line | Count | Source | 445 | 40 | CanType remapASTType(CanType Ty) { | 446 | 40 | return Ty; | 447 | 40 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE12remapASTTypeENS_7CanTypeE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE12remapASTTypeENS_7CanTypeE Line | Count | Source | 445 | 24 | CanType remapASTType(CanType Ty) { | 446 | 24 | return Ty; | 447 | 24 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE12remapASTTypeENS_7CanTypeE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE12remapASTTypeENS_7CanTypeE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE12remapASTTypeENS_7CanTypeE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE12remapASTTypeENS_7CanTypeE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE12remapASTTypeENS_7CanTypeE Line | Count | Source | 445 | 13 | CanType remapASTType(CanType Ty) { | 446 | 13 | return Ty; | 447 | 13 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE12remapASTTypeENS_7CanTypeE Line | Count | Source | 445 | 185 | CanType remapASTType(CanType Ty) { | 446 | 185 | return Ty; | 447 | 185 | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE12remapASTTypeENS_7CanTypeE Line | Count | Source | 445 | 13 | CanType remapASTType(CanType Ty) { | 446 | 13 | return Ty; | 447 | 13 | } |
|
448 | | |
449 | 193 | ProtocolConformanceRef remapConformance(Type Ty, ProtocolConformanceRef C) { |
450 | 193 | return C; |
451 | 193 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 449 | 3 | ProtocolConformanceRef remapConformance(Type Ty, ProtocolConformanceRef C) { | 450 | 3 | return C; | 451 | 3 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 449 | 1 | ProtocolConformanceRef remapConformance(Type Ty, ProtocolConformanceRef C) { | 450 | 1 | return C; | 451 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 449 | 6 | ProtocolConformanceRef remapConformance(Type Ty, ProtocolConformanceRef C) { | 450 | 6 | return C; | 451 | 6 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE Line | Count | Source | 449 | 183 | ProtocolConformanceRef remapConformance(Type Ty, ProtocolConformanceRef C) { | 450 | 183 | return C; | 451 | 183 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE |
452 | | /// Get the value that takes the place of the given `Value` within the cloned |
453 | | /// region. The given value must already have been mapped by this cloner. |
454 | | SILValue getMappedValue(SILValue Value); |
455 | | void mapValue(SILValue origValue, SILValue mappedValue); |
456 | | |
457 | 376k | SILFunction *remapFunction(SILFunction *Func) { return Func; }Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13remapFunctionEPNS_11SILFunctionE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13remapFunctionEPNS_11SILFunctionE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 1 | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 521 | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 2.35k | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 1.78k | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 3 | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 218 | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 2.96k | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 39 | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13remapFunctionEPNS_11SILFunctionE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 36 | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13remapFunctionEPNS_11SILFunctionE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 58 | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13remapFunctionEPNS_11SILFunctionE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 92 | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 142 | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13remapFunctionEPNS_11SILFunctionE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13remapFunctionEPNS_11SILFunctionE _ZN5swift9SILClonerINS_13GenericClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 94.3k | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 274k | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13remapFunctionEPNS_11SILFunctionE Line | Count | Source | 457 | 2 | SILFunction *remapFunction(SILFunction *Func) { return Func; } |
|
458 | | SILBasicBlock *remapBasicBlock(SILBasicBlock *BB); |
459 | | void postProcess(SILInstruction *Orig, SILInstruction *Cloned); |
460 | | |
461 | 49.6k | SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20remapSubstitutionMapENS_15SubstitutionMapE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20remapSubstitutionMapENS_15SubstitutionMapE _ZN5swift9SILClonerINS_16BasicBlockClonerEE20remapSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 461 | 7.52k | SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20remapSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 461 | 16.9k | SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20remapSubstitutionMapENS_15SubstitutionMapE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20remapSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 461 | 154 | SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20remapSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 461 | 20.9k | SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20remapSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 461 | 62 | SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20remapSubstitutionMapENS_15SubstitutionMapE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20remapSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 461 | 579 | SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20remapSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 461 | 160 | SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20remapSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 461 | 486 | SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20remapSubstitutionMapENS_15SubstitutionMapE SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20remapSubstitutionMapENS_15SubstitutionMapE Line | Count | Source | 461 | 2.83k | SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; } |
|
462 | | |
463 | | /// This is called by either of the top-level visitors, cloneReachableBlocks |
464 | | /// or cloneSILFunction, after all other visitors are have been called. |
465 | | |
466 | | /// `preFixUp` is called first. |
467 | 49.0k | void preFixUp(SILFunction *F) {}Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE8preFixUpEPNS_11SILFunctionE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 1 | void preFixUp(SILFunction *F) {} |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 339 | void preFixUp(SILFunction *F) {} |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 1.31k | void preFixUp(SILFunction *F) {} |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 155 | void preFixUp(SILFunction *F) {} |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 18.1k | void preFixUp(SILFunction *F) {} |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 128 | void preFixUp(SILFunction *F) {} |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 257 | void preFixUp(SILFunction *F) {} |
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 10 | void preFixUp(SILFunction *F) {} |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 2.62k | void preFixUp(SILFunction *F) {} |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 8 | void preFixUp(SILFunction *F) {} |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE8preFixUpEPNS_11SILFunctionE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 5 | void preFixUp(SILFunction *F) {} |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE8preFixUpEPNS_11SILFunctionE _ZN5swift9SILClonerINS_13GenericClonerEE8preFixUpEPNS_11SILFunctionE Line | Count | Source | 467 | 25.9k | void preFixUp(SILFunction *F) {} |
|
468 | | /// After postFixUp, the SIL must be valid and semantically equivalent to the |
469 | | /// SIL before cloning. |
470 | | /// |
471 | | /// Common fix-ups are handled first in `commonFixUp` and may not be |
472 | | /// overridden. |
473 | 23.0k | void postFixUp(SILFunction *F) {}Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE9postFixUpEPNS_11SILFunctionE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 1 | void postFixUp(SILFunction *F) {} |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 339 | void postFixUp(SILFunction *F) {} |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 1.31k | void postFixUp(SILFunction *F) {} |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 155 | void postFixUp(SILFunction *F) {} |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 18.1k | void postFixUp(SILFunction *F) {} |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 128 | void postFixUp(SILFunction *F) {} |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 257 | void postFixUp(SILFunction *F) {} |
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 10 | void postFixUp(SILFunction *F) {} |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 2.62k | void postFixUp(SILFunction *F) {} |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 8 | void postFixUp(SILFunction *F) {} |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE9postFixUpEPNS_11SILFunctionE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE9postFixUpEPNS_11SILFunctionE Line | Count | Source | 473 | 5 | void postFixUp(SILFunction *F) {} |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE9postFixUpEPNS_11SILFunctionE |
474 | | |
475 | | private: |
476 | | /// MARK: SILCloner implementation details hidden from CRTP extensions. |
477 | | |
478 | | void clonePhiArgs(SILBasicBlock *oldBB); |
479 | | |
480 | | void visitBlocksDepthFirst(SILBasicBlock *StartBB); |
481 | | |
482 | | /// Also perform fundamental cleanup first, then call the CRTP extension, |
483 | | /// `postFixUp`. |
484 | | void commonFixUp(SILFunction *F); |
485 | | }; |
486 | | |
487 | | /// A SILBuilder that automatically invokes postprocess on each |
488 | | /// inserted instruction. |
489 | | template<class SomeSILCloner, unsigned N = 4> |
490 | | class SILBuilderWithPostProcess : public SILBuilder { |
491 | | SomeSILCloner &SC; |
492 | | SILInstruction *Orig; |
493 | | SmallVector<SILInstruction*, N> InsertedInstrs; |
494 | | |
495 | | public: |
496 | | SILBuilderWithPostProcess(SomeSILCloner *sc, SILInstruction *Orig) |
497 | | : SILBuilder(sc->getBuilder().getInsertionBB(), &InsertedInstrs), |
498 | | SC(*sc), Orig(Orig) |
499 | 632 | { |
500 | 632 | setInsertionPoint(SC.getBuilder().getInsertionBB(), |
501 | 632 | SC.getBuilder().getInsertionPoint()); |
502 | 632 | } Unexecuted instantiation: _ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_8autodiff9JVPCloner14ImplementationENS_21SILOptFunctionBuilderEEELj16EEC2EPS6_PNS_14SILInstructionE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerENS_21SILOptFunctionBuilderEEELj16EEC2EPS5_PNS_14SILInstructionE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerIN12_GLOBAL__N_124CapturePropagationClonerENS_21SILOptFunctionBuilderEEELj16EEC2EPS5_PNS_14SILInstructionE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift25SILBuilderWithPostProcessIN12_GLOBAL__N_113ClosureClonerELj1EEC2EPS2_PNS_14SILInstructionE Unexecuted instantiation: _ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_20BasicTypeSubstClonerENS_21SILOptFunctionBuilderEEELj16EEC2EPS4_PNS_14SILInstructionE _ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_13GenericClonerENS_21SILOptFunctionBuilderEEELj16EEC2EPS4_PNS_14SILInstructionE Line | Count | Source | 499 | 622 | { | 500 | 622 | setInsertionPoint(SC.getBuilder().getInsertionBB(), | 501 | 622 | SC.getBuilder().getInsertionPoint()); | 502 | 622 | } |
_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_15SILInlineClonerENS_21SILOptFunctionBuilderEEELj16EEC2EPS4_PNS_14SILInstructionE Line | Count | Source | 499 | 10 | { | 500 | 10 | setInsertionPoint(SC.getBuilder().getInsertionBB(), | 501 | 10 | SC.getBuilder().getInsertionPoint()); | 502 | 10 | } |
|
503 | | |
504 | 632 | ~SILBuilderWithPostProcess() { |
505 | 767 | for (auto *I : InsertedInstrs) { |
506 | 767 | SC.recordClonedInstruction(Orig, I); |
507 | 767 | } |
508 | 632 | } Unexecuted instantiation: _ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_8autodiff9JVPCloner14ImplementationENS_21SILOptFunctionBuilderEEELj16EED2Ev Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerENS_21SILOptFunctionBuilderEEELj16EED2Ev Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerIN12_GLOBAL__N_124CapturePropagationClonerENS_21SILOptFunctionBuilderEEELj16EED2Ev Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift25SILBuilderWithPostProcessIN12_GLOBAL__N_113ClosureClonerELj1EED2Ev Unexecuted instantiation: _ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_20BasicTypeSubstClonerENS_21SILOptFunctionBuilderEEELj16EED2Ev _ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_13GenericClonerENS_21SILOptFunctionBuilderEEELj16EED2Ev Line | Count | Source | 504 | 622 | ~SILBuilderWithPostProcess() { | 505 | 747 | for (auto *I : InsertedInstrs) { | 506 | 747 | SC.recordClonedInstruction(Orig, I); | 507 | 747 | } | 508 | 622 | } |
_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_15SILInlineClonerENS_21SILOptFunctionBuilderEEELj16EED2Ev Line | Count | Source | 504 | 10 | ~SILBuilderWithPostProcess() { | 505 | 20 | for (auto *I : InsertedInstrs) { | 506 | 20 | SC.recordClonedInstruction(Orig, I); | 507 | 20 | } | 508 | 10 | } |
|
509 | | }; |
510 | | |
511 | | |
512 | | /// SILClonerWithScopes - a SILCloner that automatically clones |
513 | | /// SILDebugScopes. In contrast to inline scopes, this generates a |
514 | | /// deep copy of the scope tree. |
515 | | template<typename ImplClass> |
516 | | class SILClonerWithScopes : public SILCloner<ImplClass> { |
517 | | friend class SILCloner<ImplClass>; |
518 | | public: |
519 | | SILClonerWithScopes(SILFunction &To, |
520 | | DominanceInfo *DT = nullptr, |
521 | | bool Disable = false) |
522 | 188k | : SILCloner<ImplClass>(To, DT) { |
523 | | |
524 | | // We only want to do this when we generate cloned functions, not |
525 | | // when we inline. |
526 | | |
527 | | // FIXME: This is due to having TypeSubstCloner inherit from |
528 | | // SILClonerWithScopes, and having TypeSubstCloner be used |
529 | | // both by passes that clone whole functions and ones that |
530 | | // inline functions. |
531 | 188k | if (Disable) |
532 | 160k | return; |
533 | | |
534 | 28.1k | scopeCloner.reset(new ScopeCloner(To)); |
535 | 28.1k | } _ZN5swift19SILClonerWithScopesINS_8autodiff9JVPCloner14ImplementationEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb Line | Count | Source | 522 | 339 | : SILCloner<ImplClass>(To, DT) { | 523 | | | 524 | | // We only want to do this when we generate cloned functions, not | 525 | | // when we inline. | 526 | | | 527 | | // FIXME: This is due to having TypeSubstCloner inherit from | 528 | | // SILClonerWithScopes, and having TypeSubstCloner be used | 529 | | // both by passes that clone whole functions and ones that | 530 | | // inline functions. | 531 | 339 | if (Disable) | 532 | 0 | return; | 533 | | | 534 | 339 | scopeCloner.reset(new ScopeCloner(To)); | 535 | 339 | } |
_ZN5swift19SILClonerWithScopesINS_8autodiff9VJPCloner14ImplementationEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb Line | Count | Source | 522 | 1.31k | : SILCloner<ImplClass>(To, DT) { | 523 | | | 524 | | // We only want to do this when we generate cloned functions, not | 525 | | // when we inline. | 526 | | | 527 | | // FIXME: This is due to having TypeSubstCloner inherit from | 528 | | // SILClonerWithScopes, and having TypeSubstCloner be used | 529 | | // both by passes that clone whole functions and ones that | 530 | | // inline functions. | 531 | 1.31k | if (Disable) | 532 | 0 | return; | 533 | | | 534 | 1.31k | scopeCloner.reset(new ScopeCloner(To)); | 535 | 1.31k | } |
ExistentialTransform.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_128ExistentialSpecializerClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb Line | Count | Source | 522 | 155 | : SILCloner<ImplClass>(To, DT) { | 523 | | | 524 | | // We only want to do this when we generate cloned functions, not | 525 | | // when we inline. | 526 | | | 527 | | // FIXME: This is due to having TypeSubstCloner inherit from | 528 | | // SILClonerWithScopes, and having TypeSubstCloner be used | 529 | | // both by passes that clone whole functions and ones that | 530 | | // inline functions. | 531 | 155 | if (Disable) | 532 | 0 | return; | 533 | | | 534 | 155 | scopeCloner.reset(new ScopeCloner(To)); | 535 | 155 | } |
CapturePropagation.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_124CapturePropagationClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb Line | Count | Source | 522 | 128 | : SILCloner<ImplClass>(To, DT) { | 523 | | | 524 | | // We only want to do this when we generate cloned functions, not | 525 | | // when we inline. | 526 | | | 527 | | // FIXME: This is due to having TypeSubstCloner inherit from | 528 | | // SILClonerWithScopes, and having TypeSubstCloner be used | 529 | | // both by passes that clone whole functions and ones that | 530 | | // inline functions. | 531 | 128 | if (Disable) | 532 | 0 | return; | 533 | | | 534 | 128 | scopeCloner.reset(new ScopeCloner(To)); | 535 | 128 | } |
ClosureSpecializer.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_117ClosureSpecClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb Line | Count | Source | 522 | 257 | : SILCloner<ImplClass>(To, DT) { | 523 | | | 524 | | // We only want to do this when we generate cloned functions, not | 525 | | // when we inline. | 526 | | | 527 | | // FIXME: This is due to having TypeSubstCloner inherit from | 528 | | // SILClonerWithScopes, and having TypeSubstCloner be used | 529 | | // both by passes that clone whole functions and ones that | 530 | | // inline functions. | 531 | 257 | if (Disable) | 532 | 0 | return; | 533 | | | 534 | 257 | scopeCloner.reset(new ScopeCloner(To)); | 535 | 257 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_118InitSequenceClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb CapturePromotion.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_113ClosureClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb Line | Count | Source | 522 | 8 | : SILCloner<ImplClass>(To, DT) { | 523 | | | 524 | | // We only want to do this when we generate cloned functions, not | 525 | | // when we inline. | 526 | | | 527 | | // FIXME: This is due to having TypeSubstCloner inherit from | 528 | | // SILClonerWithScopes, and having TypeSubstCloner be used | 529 | | // both by passes that clone whole functions and ones that | 530 | | // inline functions. | 531 | 8 | if (Disable) | 532 | 0 | return; | 533 | | | 534 | 8 | scopeCloner.reset(new ScopeCloner(To)); | 535 | 8 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb _ZN5swift19SILClonerWithScopesINS_20BasicTypeSubstClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb Line | Count | Source | 522 | 1 | : SILCloner<ImplClass>(To, DT) { | 523 | | | 524 | | // We only want to do this when we generate cloned functions, not | 525 | | // when we inline. | 526 | | | 527 | | // FIXME: This is due to having TypeSubstCloner inherit from | 528 | | // SILClonerWithScopes, and having TypeSubstCloner be used | 529 | | // both by passes that clone whole functions and ones that | 530 | | // inline functions. | 531 | 1 | if (Disable) | 532 | 0 | return; | 533 | | | 534 | 1 | scopeCloner.reset(new ScopeCloner(To)); | 535 | 1 | } |
AllocBoxToStack.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_119PromotedParamClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb Line | Count | Source | 522 | 5 | : SILCloner<ImplClass>(To, DT) { | 523 | | | 524 | | // We only want to do this when we generate cloned functions, not | 525 | | // when we inline. | 526 | | | 527 | | // FIXME: This is due to having TypeSubstCloner inherit from | 528 | | // SILClonerWithScopes, and having TypeSubstCloner be used | 529 | | // both by passes that clone whole functions and ones that | 530 | | // inline functions. | 531 | 5 | if (Disable) | 532 | 0 | return; | 533 | | | 534 | 5 | scopeCloner.reset(new ScopeCloner(To)); | 535 | 5 | } |
_ZN5swift19SILClonerWithScopesINS_13GenericClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb Line | Count | Source | 522 | 25.9k | : SILCloner<ImplClass>(To, DT) { | 523 | | | 524 | | // We only want to do this when we generate cloned functions, not | 525 | | // when we inline. | 526 | | | 527 | | // FIXME: This is due to having TypeSubstCloner inherit from | 528 | | // SILClonerWithScopes, and having TypeSubstCloner be used | 529 | | // both by passes that clone whole functions and ones that | 530 | | // inline functions. | 531 | 25.9k | if (Disable) | 532 | 0 | return; | 533 | | | 534 | 25.9k | scopeCloner.reset(new ScopeCloner(To)); | 535 | 25.9k | } |
_ZN5swift19SILClonerWithScopesINS_15SILInlineClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb Line | Count | Source | 522 | 160k | : SILCloner<ImplClass>(To, DT) { | 523 | | | 524 | | // We only want to do this when we generate cloned functions, not | 525 | | // when we inline. | 526 | | | 527 | | // FIXME: This is due to having TypeSubstCloner inherit from | 528 | | // SILClonerWithScopes, and having TypeSubstCloner be used | 529 | | // both by passes that clone whole functions and ones that | 530 | | // inline functions. | 531 | 160k | if (Disable) | 532 | 160k | return; | 533 | | | 534 | 0 | scopeCloner.reset(new ScopeCloner(To)); | 535 | 0 | } |
Unexecuted instantiation: _ZN5swift19SILClonerWithScopesINS_17SILFunctionClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb |
536 | | |
537 | | private: |
538 | | std::unique_ptr<ScopeCloner> scopeCloner; |
539 | | protected: |
540 | | /// Clone the SILDebugScope for the cloned function. |
541 | 2.04M | void postProcess(SILInstruction *Orig, SILInstruction *Cloned) { |
542 | 2.04M | SILCloner<ImplClass>::postProcess(Orig, Cloned); |
543 | 2.04M | } Unexecuted instantiation: _ZN5swift19SILClonerWithScopesINS_17SILFunctionClonerEE11postProcessEPNS_14SILInstructionES4_ _ZN5swift19SILClonerWithScopesINS_20BasicTypeSubstClonerEE11postProcessEPNS_14SILInstructionES4_ Line | Count | Source | 541 | 4 | void postProcess(SILInstruction *Orig, SILInstruction *Cloned) { | 542 | 4 | SILCloner<ImplClass>::postProcess(Orig, Cloned); | 543 | 4 | } |
_ZN5swift19SILClonerWithScopesINS_8autodiff9JVPCloner14ImplementationEE11postProcessEPNS_14SILInstructionES6_ Line | Count | Source | 541 | 3.57k | void postProcess(SILInstruction *Orig, SILInstruction *Cloned) { | 542 | 3.57k | SILCloner<ImplClass>::postProcess(Orig, Cloned); | 543 | 3.57k | } |
_ZN5swift19SILClonerWithScopesINS_8autodiff9VJPCloner14ImplementationEE11postProcessEPNS_14SILInstructionES6_ Line | Count | Source | 541 | 18.3k | void postProcess(SILInstruction *Orig, SILInstruction *Cloned) { | 542 | 18.3k | SILCloner<ImplClass>::postProcess(Orig, Cloned); | 543 | 18.3k | } |
ExistentialTransform.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_128ExistentialSpecializerClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 541 | 24.4k | void postProcess(SILInstruction *Orig, SILInstruction *Cloned) { | 542 | 24.4k | SILCloner<ImplClass>::postProcess(Orig, Cloned); | 543 | 24.4k | } |
CapturePropagation.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_124CapturePropagationClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 541 | 1.81k | void postProcess(SILInstruction *Orig, SILInstruction *Cloned) { | 542 | 1.81k | SILCloner<ImplClass>::postProcess(Orig, Cloned); | 543 | 1.81k | } |
ClosureSpecializer.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_117ClosureSpecClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 541 | 69.0k | void postProcess(SILInstruction *Orig, SILInstruction *Cloned) { | 542 | 69.0k | SILCloner<ImplClass>::postProcess(Orig, Cloned); | 543 | 69.0k | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_118InitSequenceClonerEE11postProcessEPNS_14SILInstructionES5_ CapturePromotion.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_113ClosureClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 541 | 538 | void postProcess(SILInstruction *Orig, SILInstruction *Cloned) { | 542 | 538 | SILCloner<ImplClass>::postProcess(Orig, Cloned); | 543 | 538 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE11postProcessEPNS_14SILInstructionES5_ AllocBoxToStack.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_119PromotedParamClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 541 | 1.01k | void postProcess(SILInstruction *Orig, SILInstruction *Cloned) { | 542 | 1.01k | SILCloner<ImplClass>::postProcess(Orig, Cloned); | 543 | 1.01k | } |
_ZN5swift19SILClonerWithScopesINS_13GenericClonerEE11postProcessEPNS_14SILInstructionES4_ Line | Count | Source | 541 | 1.92M | void postProcess(SILInstruction *Orig, SILInstruction *Cloned) { | 542 | 1.92M | SILCloner<ImplClass>::postProcess(Orig, Cloned); | 543 | 1.92M | } |
|
544 | | |
545 | 122k | const SILDebugScope *remapScope(const SILDebugScope *DS) { |
546 | 122k | return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS; |
547 | 122k | } Unexecuted instantiation: _ZN5swift19SILClonerWithScopesINS_17SILFunctionClonerEE10remapScopeEPKNS_13SILDebugScopeE _ZN5swift19SILClonerWithScopesINS_20BasicTypeSubstClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 545 | 4 | const SILDebugScope *remapScope(const SILDebugScope *DS) { | 546 | 4 | return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS; | 547 | 4 | } |
_ZN5swift19SILClonerWithScopesINS_8autodiff9JVPCloner14ImplementationEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 545 | 3.57k | const SILDebugScope *remapScope(const SILDebugScope *DS) { | 546 | 3.57k | return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS; | 547 | 3.57k | } |
_ZN5swift19SILClonerWithScopesINS_8autodiff9VJPCloner14ImplementationEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 545 | 21.9k | const SILDebugScope *remapScope(const SILDebugScope *DS) { | 546 | 21.9k | return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS; | 547 | 21.9k | } |
ExistentialTransform.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_128ExistentialSpecializerClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 545 | 24.5k | const SILDebugScope *remapScope(const SILDebugScope *DS) { | 546 | 24.5k | return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS; | 547 | 24.5k | } |
CapturePropagation.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_124CapturePropagationClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 545 | 1.61k | const SILDebugScope *remapScope(const SILDebugScope *DS) { | 546 | 1.61k | return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS; | 547 | 1.61k | } |
ClosureSpecializer.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_117ClosureSpecClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 545 | 69.0k | const SILDebugScope *remapScope(const SILDebugScope *DS) { | 546 | 69.0k | return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS; | 547 | 69.0k | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_118InitSequenceClonerEE10remapScopeEPKNS_13SILDebugScopeE CapturePromotion.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_113ClosureClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 545 | 568 | const SILDebugScope *remapScope(const SILDebugScope *DS) { | 546 | 568 | return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS; | 547 | 568 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE10remapScopeEPKNS_13SILDebugScopeE AllocBoxToStack.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_119PromotedParamClonerEE10remapScopeEPKNS_13SILDebugScopeE Line | Count | Source | 545 | 1.01k | const SILDebugScope *remapScope(const SILDebugScope *DS) { | 546 | 1.01k | return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS; | 547 | 1.01k | } |
|
548 | | }; |
549 | | |
550 | | /// Clone a function without transforming it. |
551 | | class SILFunctionCloner : public SILClonerWithScopes<SILFunctionCloner> { |
552 | | using SuperTy = SILClonerWithScopes<SILFunctionCloner>; |
553 | | friend class SILCloner<SILFunctionCloner>; |
554 | | |
555 | | public: |
556 | 0 | SILFunctionCloner(SILFunction *newF) : SILClonerWithScopes(*newF) {} |
557 | | |
558 | | /// Clone all blocks in this function and all instructions in those |
559 | | /// blocks. |
560 | | /// |
561 | | /// This is used to clone an entire function without mutating the original |
562 | | /// function. |
563 | | /// |
564 | | /// The new function is expected to be completely empty. Clone the entry |
565 | | /// blocks arguments here. The cloned arguments become the inputs to the |
566 | | /// general SILCloner, which expects the new entry block to be ready to emit |
567 | | /// instructions into. |
568 | 0 | void cloneFunction(SILFunction *origF) { |
569 | 0 | SILFunction *newF = &Builder.getFunction(); |
570 | |
|
571 | 0 | auto *newEntryBB = newF->createBasicBlock(); |
572 | 0 | newEntryBB->cloneArgumentList(origF->getEntryBlock()); |
573 | | |
574 | | // Copy the new entry block arguments into a separate vector purely to |
575 | | // resolve the type mismatch between SILArgument* and SILValue. |
576 | 0 | SmallVector<SILValue, 8> entryArgs; |
577 | 0 | entryArgs.reserve(newF->getArguments().size()); |
578 | 0 | llvm::transform(newF->getArguments(), std::back_inserter(entryArgs), |
579 | 0 | [](SILArgument *arg) -> SILValue { return arg; }); |
580 | |
|
581 | 0 | SuperTy::cloneFunctionBody(origF, newEntryBB, entryArgs); |
582 | 0 | } |
583 | | }; |
584 | | |
585 | | template<typename ImplClass> |
586 | | SILValue |
587 | 8.40M | SILCloner<ImplClass>::getMappedValue(SILValue Value) { |
588 | 8.40M | auto VI = ValueMap.find(Value); |
589 | 8.40M | if (VI != ValueMap.end()) |
590 | 8.40M | return VI->second; |
591 | | |
592 | | // If we have undef, just remap the type. |
593 | 37 | if (auto *U = dyn_cast<SILUndef>(Value)) { |
594 | 37 | auto type = getOpType(U->getType()); |
595 | 37 | ValueBase *undef = |
596 | 37 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); |
597 | 37 | return SILValue(undef); |
598 | 37 | } |
599 | | |
600 | 0 | llvm_unreachable("Unmapped value while cloning?"); |
601 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14getMappedValueENS_8SILValueE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14getMappedValueENS_8SILValueE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 4 | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 4 | auto VI = ValueMap.find(Value); | 589 | 4 | if (VI != ValueMap.end()) | 590 | 4 | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 4.99k | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 4.99k | auto VI = ValueMap.find(Value); | 589 | 4.99k | if (VI != ValueMap.end()) | 590 | 4.99k | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 23.9k | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 23.9k | auto VI = ValueMap.find(Value); | 589 | 23.9k | if (VI != ValueMap.end()) | 590 | 23.9k | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 1 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 1 | auto type = getOpType(U->getType()); | 595 | 1 | ValueBase *undef = | 596 | 1 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 1 | return SILValue(undef); | 598 | 1 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 25.9k | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 25.9k | auto VI = ValueMap.find(Value); | 589 | 25.9k | if (VI != ValueMap.end()) | 590 | 25.9k | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 37.9k | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 37.9k | auto VI = ValueMap.find(Value); | 589 | 37.9k | if (VI != ValueMap.end()) | 590 | 37.9k | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 2.13k | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 2.13k | auto VI = ValueMap.find(Value); | 589 | 2.13k | if (VI != ValueMap.end()) | 590 | 2.13k | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 80.6k | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 80.6k | auto VI = ValueMap.find(Value); | 589 | 80.6k | if (VI != ValueMap.end()) | 590 | 80.6k | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14getMappedValueENS_8SILValueE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 606 | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 606 | auto VI = ValueMap.find(Value); | 589 | 606 | if (VI != ValueMap.end()) | 590 | 606 | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 52.4k | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 52.4k | auto VI = ValueMap.find(Value); | 589 | 52.4k | if (VI != ValueMap.end()) | 590 | 52.4k | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 542 | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 542 | auto VI = ValueMap.find(Value); | 589 | 542 | if (VI != ValueMap.end()) | 590 | 542 | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14getMappedValueENS_8SILValueE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 6.69k | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 6.69k | auto VI = ValueMap.find(Value); | 589 | 6.69k | if (VI != ValueMap.end()) | 590 | 6.69k | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 1.05k | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 1.05k | auto VI = ValueMap.find(Value); | 589 | 1.05k | if (VI != ValueMap.end()) | 590 | 1.05k | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 0 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 0 | auto type = getOpType(U->getType()); | 595 | 0 | ValueBase *undef = | 596 | 0 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 0 | return SILValue(undef); | 598 | 0 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14getMappedValueENS_8SILValueE _ZN5swift9SILClonerINS_13GenericClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 2.01M | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 2.01M | auto VI = ValueMap.find(Value); | 589 | 2.01M | if (VI != ValueMap.end()) | 590 | 2.01M | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 16 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 16 | auto type = getOpType(U->getType()); | 595 | 16 | ValueBase *undef = | 596 | 16 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 16 | return SILValue(undef); | 598 | 16 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE14getMappedValueENS_8SILValueE Line | Count | Source | 587 | 6.15M | SILCloner<ImplClass>::getMappedValue(SILValue Value) { | 588 | 6.15M | auto VI = ValueMap.find(Value); | 589 | 6.15M | if (VI != ValueMap.end()) | 590 | 6.15M | return VI->second; | 591 | | | 592 | | // If we have undef, just remap the type. | 593 | 20 | if (auto *U = dyn_cast<SILUndef>(Value)) { | 594 | 20 | auto type = getOpType(U->getType()); | 595 | 20 | ValueBase *undef = | 596 | 20 | (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction())); | 597 | 20 | return SILValue(undef); | 598 | 20 | } | 599 | | | 600 | 0 | llvm_unreachable("Unmapped value while cloning?"); | 601 | 0 | } |
|
602 | | |
603 | | template <typename ImplClass> |
604 | 6.05M | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { |
605 | 6.05M | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); |
606 | 6.05M | (void)iterAndInserted; |
607 | 6.05M | assert(iterAndInserted.second && "Original value already mapped."); |
608 | 6.05M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE8mapValueENS_8SILValueES4_ Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE8mapValueENS_8SILValueES3_ _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE8mapValueENS_8SILValueES3_ Line | Count | Source | 604 | 2 | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 2 | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 2 | (void)iterAndInserted; | 607 | 2 | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 2 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE8mapValueENS_8SILValueES5_ Line | Count | Source | 604 | 2.59k | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 2.59k | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 2.59k | (void)iterAndInserted; | 607 | 2.59k | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 2.59k | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE8mapValueENS_8SILValueES5_ Line | Count | Source | 604 | 12.8k | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 12.8k | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 12.8k | (void)iterAndInserted; | 607 | 12.8k | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 12.8k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE8mapValueENS_8SILValueES4_ Line | Count | Source | 604 | 15.8k | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 15.8k | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 15.8k | (void)iterAndInserted; | 607 | 15.8k | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 15.8k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE8mapValueENS_8SILValueES3_ Line | Count | Source | 604 | 44.2k | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 44.2k | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 44.2k | (void)iterAndInserted; | 607 | 44.2k | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 44.2k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE8mapValueENS_8SILValueES4_ Line | Count | Source | 604 | 1.17k | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 1.17k | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 1.17k | (void)iterAndInserted; | 607 | 1.17k | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 1.17k | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE8mapValueENS_8SILValueES4_ Line | Count | Source | 604 | 54.6k | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 54.6k | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 54.6k | (void)iterAndInserted; | 607 | 54.6k | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 54.6k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE8mapValueENS_8SILValueES4_ Line | Count | Source | 604 | 215 | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 215 | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 215 | (void)iterAndInserted; | 607 | 215 | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 215 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE8mapValueENS_8SILValueES4_ ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE8mapValueENS_8SILValueES4_ Line | Count | Source | 604 | 450 | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 450 | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 450 | (void)iterAndInserted; | 607 | 450 | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 450 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE8mapValueENS_8SILValueES4_ Line | Count | Source | 604 | 41.9k | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 41.9k | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 41.9k | (void)iterAndInserted; | 607 | 41.9k | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 41.9k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE8mapValueENS_8SILValueES4_ Line | Count | Source | 604 | 320 | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 320 | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 320 | (void)iterAndInserted; | 607 | 320 | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 320 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE8mapValueENS_8SILValueES4_ _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE8mapValueENS_8SILValueES3_ Line | Count | Source | 604 | 3.42k | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 3.42k | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 3.42k | (void)iterAndInserted; | 607 | 3.42k | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 3.42k | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE8mapValueENS_8SILValueES4_ Line | Count | Source | 604 | 707 | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 707 | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 707 | (void)iterAndInserted; | 607 | 707 | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 707 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE8mapValueENS_8SILValueES4_ Line | Count | Source | 604 | 674 | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 674 | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 674 | (void)iterAndInserted; | 607 | 674 | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 674 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE8mapValueENS_8SILValueES4_ _ZN5swift9SILClonerINS_13GenericClonerEE8mapValueENS_8SILValueES3_ Line | Count | Source | 604 | 1.47M | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 1.47M | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 1.47M | (void)iterAndInserted; | 607 | 1.47M | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 1.47M | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE8mapValueENS_8SILValueES3_ Line | Count | Source | 604 | 4.39M | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 4.39M | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 4.39M | (void)iterAndInserted; | 607 | 4.39M | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 4.39M | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE8mapValueENS_8SILValueES4_ Line | Count | Source | 604 | 8.50k | void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) { | 605 | 8.50k | auto iterAndInserted = ValueMap.insert({origValue, mappedValue}); | 606 | 8.50k | (void)iterAndInserted; | 607 | 8.50k | assert(iterAndInserted.second && "Original value already mapped."); | 608 | 8.50k | } |
|
609 | | |
610 | | template<typename ImplClass> |
611 | | SILBasicBlock* |
612 | 1.38M | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { |
613 | 1.38M | SILBasicBlock *MappedBB = BBMap[BB]; |
614 | 1.38M | assert(MappedBB && "Unmapped basic block while cloning?"); |
615 | 0 | return MappedBB; |
616 | 1.38M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15remapBasicBlockEPNS_13SILBasicBlockE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 612 | 5.33k | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { | 613 | 5.33k | SILBasicBlock *MappedBB = BBMap[BB]; | 614 | 5.33k | assert(MappedBB && "Unmapped basic block while cloning?"); | 615 | 0 | return MappedBB; | 616 | 5.33k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 612 | 137k | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { | 613 | 137k | SILBasicBlock *MappedBB = BBMap[BB]; | 614 | 137k | assert(MappedBB && "Unmapped basic block while cloning?"); | 615 | 0 | return MappedBB; | 616 | 137k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 612 | 70 | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { | 613 | 70 | SILBasicBlock *MappedBB = BBMap[BB]; | 614 | 70 | assert(MappedBB && "Unmapped basic block while cloning?"); | 615 | 0 | return MappedBB; | 616 | 70 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 612 | 14.2k | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { | 613 | 14.2k | SILBasicBlock *MappedBB = BBMap[BB]; | 614 | 14.2k | assert(MappedBB && "Unmapped basic block while cloning?"); | 615 | 0 | return MappedBB; | 616 | 14.2k | } |
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 612 | 372 | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { | 613 | 372 | SILBasicBlock *MappedBB = BBMap[BB]; | 614 | 372 | assert(MappedBB && "Unmapped basic block while cloning?"); | 615 | 0 | return MappedBB; | 616 | 372 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 612 | 15.7k | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { | 613 | 15.7k | SILBasicBlock *MappedBB = BBMap[BB]; | 614 | 15.7k | assert(MappedBB && "Unmapped basic block while cloning?"); | 615 | 0 | return MappedBB; | 616 | 15.7k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 612 | 36 | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { | 613 | 36 | SILBasicBlock *MappedBB = BBMap[BB]; | 614 | 36 | assert(MappedBB && "Unmapped basic block while cloning?"); | 615 | 0 | return MappedBB; | 616 | 36 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15remapBasicBlockEPNS_13SILBasicBlockE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 612 | 55 | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { | 613 | 55 | SILBasicBlock *MappedBB = BBMap[BB]; | 614 | 55 | assert(MappedBB && "Unmapped basic block while cloning?"); | 615 | 0 | return MappedBB; | 616 | 55 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15remapBasicBlockEPNS_13SILBasicBlockE _ZN5swift9SILClonerINS_13GenericClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 612 | 391k | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { | 613 | 391k | SILBasicBlock *MappedBB = BBMap[BB]; | 614 | 391k | assert(MappedBB && "Unmapped basic block while cloning?"); | 615 | 0 | return MappedBB; | 616 | 391k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE15remapBasicBlockEPNS_13SILBasicBlockE Line | Count | Source | 612 | 819k | SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) { | 613 | 819k | SILBasicBlock *MappedBB = BBMap[BB]; | 614 | 819k | assert(MappedBB && "Unmapped basic block while cloning?"); | 615 | 0 | return MappedBB; | 616 | 819k | } |
|
617 | | |
618 | | template<typename ImplClass> |
619 | | void |
620 | | SILCloner<ImplClass>::postProcess(SILInstruction *orig, |
621 | 7.34M | SILInstruction *cloned) { |
622 | 7.34M | assert((!orig->getDebugScope() || cloned->getDebugScope() || |
623 | 7.34M | Builder.isInsertingIntoGlobal()) && |
624 | 7.34M | "cloned function dropped debug scope"); |
625 | | |
626 | | // It sometimes happens that an instruction with no results gets mapped |
627 | | // to an instruction with results, e.g. when specializing a cast. |
628 | | // Just ignore this. |
629 | 0 | auto origResults = orig->getResults(); |
630 | 7.34M | if (origResults.empty()) return; |
631 | | |
632 | | // Otherwise, map the results over one-by-one. |
633 | 5.74M | auto clonedResults = cloned->getResults(); |
634 | 5.74M | assert(origResults.size() == clonedResults.size()); |
635 | 0 | for (auto i : indices(origResults)) |
636 | 5.79M | asImpl().mapValue(origResults[i], clonedResults[i]); |
637 | 5.74M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE11postProcessEPNS_14SILInstructionES5_ Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE11postProcessEPNS_14SILInstructionES4_ _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE11postProcessEPNS_14SILInstructionES4_ Line | Count | Source | 621 | 4 | SILInstruction *cloned) { | 622 | 4 | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 4 | Builder.isInsertingIntoGlobal()) && | 624 | 4 | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 4 | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 2 | auto clonedResults = cloned->getResults(); | 634 | 2 | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 2 | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 2 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE11postProcessEPNS_14SILInstructionES6_ Line | Count | Source | 621 | 3.57k | SILInstruction *cloned) { | 622 | 3.57k | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 3.57k | Builder.isInsertingIntoGlobal()) && | 624 | 3.57k | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 3.57k | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 2.19k | auto clonedResults = cloned->getResults(); | 634 | 2.19k | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 2.19k | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 2.19k | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE11postProcessEPNS_14SILInstructionES6_ Line | Count | Source | 621 | 18.3k | SILInstruction *cloned) { | 622 | 18.3k | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 18.3k | Builder.isInsertingIntoGlobal()) && | 624 | 18.3k | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 18.3k | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 11.0k | auto clonedResults = cloned->getResults(); | 634 | 11.0k | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 11.2k | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 11.0k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 621 | 24.4k | SILInstruction *cloned) { | 622 | 24.4k | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 24.4k | Builder.isInsertingIntoGlobal()) && | 624 | 24.4k | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 24.4k | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 14.8k | auto clonedResults = cloned->getResults(); | 634 | 14.8k | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 14.8k | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 14.8k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE11postProcessEPNS_14SILInstructionES4_ Line | Count | Source | 621 | 84.6k | SILInstruction *cloned) { | 622 | 84.6k | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 84.6k | Builder.isInsertingIntoGlobal()) && | 624 | 84.6k | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 84.6k | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 26.0k | auto clonedResults = cloned->getResults(); | 634 | 26.0k | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 26.0k | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 26.0k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 621 | 1.81k | SILInstruction *cloned) { | 622 | 1.81k | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 1.81k | Builder.isInsertingIntoGlobal()) && | 624 | 1.81k | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 1.81k | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 1.15k | auto clonedResults = cloned->getResults(); | 634 | 1.15k | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 1.15k | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 1.15k | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 621 | 69.0k | SILInstruction *cloned) { | 622 | 69.0k | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 69.0k | Builder.isInsertingIntoGlobal()) && | 624 | 69.0k | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 69.0k | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 52.1k | auto clonedResults = cloned->getResults(); | 634 | 52.1k | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 52.2k | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 52.1k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 621 | 390 | SILInstruction *cloned) { | 622 | 390 | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 390 | Builder.isInsertingIntoGlobal()) && | 624 | 390 | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 390 | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 215 | auto clonedResults = cloned->getResults(); | 634 | 215 | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 215 | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 215 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE11postProcessEPNS_14SILInstructionES5_ ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 621 | 660 | SILInstruction *cloned) { | 622 | 660 | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 660 | Builder.isInsertingIntoGlobal()) && | 624 | 660 | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 660 | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 426 | auto clonedResults = cloned->getResults(); | 634 | 426 | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 426 | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 426 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 621 | 41.9k | SILInstruction *cloned) { | 622 | 41.9k | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 41.9k | Builder.isInsertingIntoGlobal()) && | 624 | 41.9k | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 41.9k | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 34.0k | auto clonedResults = cloned->getResults(); | 634 | 34.0k | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 34.0k | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 34.0k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 621 | 538 | SILInstruction *cloned) { | 622 | 538 | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 538 | Builder.isInsertingIntoGlobal()) && | 624 | 538 | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 538 | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 292 | auto clonedResults = cloned->getResults(); | 634 | 292 | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 298 | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 292 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE11postProcessEPNS_14SILInstructionES5_ _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE11postProcessEPNS_14SILInstructionES4_ Line | Count | Source | 621 | 3.42k | SILInstruction *cloned) { | 622 | 3.42k | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 3.42k | Builder.isInsertingIntoGlobal()) && | 624 | 3.42k | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 3.42k | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 3.42k | auto clonedResults = cloned->getResults(); | 634 | 3.42k | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 3.42k | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 3.42k | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 621 | 1.01k | SILInstruction *cloned) { | 622 | 1.01k | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 1.01k | Builder.isInsertingIntoGlobal()) && | 624 | 1.01k | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 1.01k | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 681 | auto clonedResults = cloned->getResults(); | 634 | 681 | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 683 | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 681 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 621 | 674 | SILInstruction *cloned) { | 622 | 674 | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 674 | Builder.isInsertingIntoGlobal()) && | 624 | 674 | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 674 | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 674 | auto clonedResults = cloned->getResults(); | 634 | 674 | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 674 | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 674 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE11postProcessEPNS_14SILInstructionES5_ _ZN5swift9SILClonerINS_13GenericClonerEE11postProcessEPNS_14SILInstructionES4_ Line | Count | Source | 621 | 1.92M | SILInstruction *cloned) { | 622 | 1.92M | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 1.92M | Builder.isInsertingIntoGlobal()) && | 624 | 1.92M | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 1.92M | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 1.41M | auto clonedResults = cloned->getResults(); | 634 | 1.41M | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 1.43M | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 1.41M | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE11postProcessEPNS_14SILInstructionES4_ Line | Count | Source | 621 | 5.16M | SILInstruction *cloned) { | 622 | 5.16M | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 5.16M | Builder.isInsertingIntoGlobal()) && | 624 | 5.16M | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 5.16M | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 4.18M | auto clonedResults = cloned->getResults(); | 634 | 4.18M | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 4.20M | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 4.18M | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE11postProcessEPNS_14SILInstructionES5_ Line | Count | Source | 621 | 10.1k | SILInstruction *cloned) { | 622 | 10.1k | assert((!orig->getDebugScope() || cloned->getDebugScope() || | 623 | 10.1k | Builder.isInsertingIntoGlobal()) && | 624 | 10.1k | "cloned function dropped debug scope"); | 625 | | | 626 | | // It sometimes happens that an instruction with no results gets mapped | 627 | | // to an instruction with results, e.g. when specializing a cast. | 628 | | // Just ignore this. | 629 | 0 | auto origResults = orig->getResults(); | 630 | 10.1k | if (origResults.empty()) return; | 631 | | | 632 | | // Otherwise, map the results over one-by-one. | 633 | 8.10k | auto clonedResults = cloned->getResults(); | 634 | 8.10k | assert(origResults.size() == clonedResults.size()); | 635 | 0 | for (auto i : indices(origResults)) | 636 | 8.50k | asImpl().mapValue(origResults[i], clonedResults[i]); | 637 | 8.10k | } |
|
638 | | |
639 | | template<typename ImplClass> |
640 | 1.23M | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { |
641 | | // Iterate over and visit all instructions other than the terminator to clone. |
642 | 7.51M | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { |
643 | 6.27M | asImpl().visit(&*I); |
644 | 6.27M | } |
645 | 1.23M | } Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 1 | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 4 | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 3 | asImpl().visit(&*I); | 644 | 3 | } | 645 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 339 | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 4.32k | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 3.98k | asImpl().visit(&*I); | 644 | 3.98k | } | 645 | 339 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 1.81k | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 21.6k | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 19.7k | asImpl().visit(&*I); | 644 | 19.7k | } | 645 | 1.81k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 4.00k | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 24.4k | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 20.4k | asImpl().visit(&*I); | 644 | 20.4k | } | 645 | 4.00k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 54.1k | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 84.6k | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 30.4k | asImpl().visit(&*I); | 644 | 30.4k | } | 645 | 54.1k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 186 | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 1.61k | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 1.42k | asImpl().visit(&*I); | 644 | 1.42k | } | 645 | 186 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 10.9k | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 69.0k | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 58.0k | asImpl().visit(&*I); | 644 | 58.0k | } | 645 | 10.9k | } |
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 86 | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 660 | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 574 | asImpl().visit(&*I); | 644 | 574 | } | 645 | 86 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 7.87k | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 41.9k | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 34.1k | asImpl().visit(&*I); | 644 | 34.1k | } | 645 | 7.87k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 38 | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 578 | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 540 | asImpl().visit(&*I); | 644 | 540 | } | 645 | 38 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 49 | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 1.02k | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 971 | asImpl().visit(&*I); | 644 | 971 | } | 645 | 49 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitInstructionsInBlockEPNS_13SILBasicBlockE _ZN5swift9SILClonerINS_13GenericClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 334k | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 1.93M | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 1.59M | asImpl().visit(&*I); | 644 | 1.59M | } | 645 | 334k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE Line | Count | Source | 640 | 821k | void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) { | 641 | | // Iterate over and visit all instructions other than the terminator to clone. | 642 | 5.33M | for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) { | 643 | 4.50M | asImpl().visit(&*I); | 644 | 4.50M | } | 645 | 821k | } |
|
646 | | |
647 | | template <typename ImplClass> |
648 | | void SILCloner<ImplClass>::cloneReachableBlocks( |
649 | | SILBasicBlock *startBB, ArrayRef<SILBasicBlock *> exitBlocks, |
650 | | SILBasicBlock *insertAfterBB, |
651 | 20.8k | bool havePrepopulatedFunctionArgs) { |
652 | | |
653 | 20.8k | SILFunction *F = startBB->getParent(); |
654 | 20.8k | assert(F == &Builder.getFunction() |
655 | 20.8k | && "cannot clone region across functions."); |
656 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); |
657 | 0 | assert((havePrepopulatedFunctionArgs || ValueMap.empty()) && |
658 | 20.8k | "Stale ValueMap."); |
659 | | |
660 | 20.8k | auto *clonedStartBB = insertAfterBB ? F->createBasicBlockAfter(insertAfterBB) |
661 | 20.8k | : F->createBasicBlock(); |
662 | | |
663 | 20.8k | BBMap.insert(std::make_pair(startBB, clonedStartBB)); |
664 | 20.8k | getBuilder().setInsertionPoint(clonedStartBB); |
665 | 20.8k | clonePhiArgs(startBB); |
666 | | |
667 | | // Premap exit blocks to terminate so that visitBlocksDepthFirst terminates |
668 | | // after discovering the cloned region. Mapping an exit block to itself |
669 | | // provides the correct destination block during visitTerminator. |
670 | 20.8k | for (auto *exitBB : exitBlocks) |
671 | 39.0k | BBMap[exitBB] = exitBB; |
672 | | |
673 | | // Discover and map the region to be cloned. |
674 | 20.8k | visitBlocksDepthFirst(startBB); |
675 | | |
676 | 20.8k | commonFixUp(F); |
677 | 20.8k | } _ZN5swift9SILClonerINS_16BasicBlockClonerEE20cloneReachableBlocksEPNS_13SILBasicBlockEN4llvm8ArrayRefIS4_EES4_b Line | Count | Source | 651 | 18.1k | bool havePrepopulatedFunctionArgs) { | 652 | | | 653 | 18.1k | SILFunction *F = startBB->getParent(); | 654 | 18.1k | assert(F == &Builder.getFunction() | 655 | 18.1k | && "cannot clone region across functions."); | 656 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 657 | 0 | assert((havePrepopulatedFunctionArgs || ValueMap.empty()) && | 658 | 18.1k | "Stale ValueMap."); | 659 | | | 660 | 18.1k | auto *clonedStartBB = insertAfterBB ? F->createBasicBlockAfter(insertAfterBB) | 661 | 18.1k | : F->createBasicBlock(); | 662 | | | 663 | 18.1k | BBMap.insert(std::make_pair(startBB, clonedStartBB)); | 664 | 18.1k | getBuilder().setInsertionPoint(clonedStartBB); | 665 | 18.1k | clonePhiArgs(startBB); | 666 | | | 667 | | // Premap exit blocks to terminate so that visitBlocksDepthFirst terminates | 668 | | // after discovering the cloned region. Mapping an exit block to itself | 669 | | // provides the correct destination block during visitTerminator. | 670 | 18.1k | for (auto *exitBB : exitBlocks) | 671 | 36.4k | BBMap[exitBB] = exitBB; | 672 | | | 673 | | // Discover and map the region to be cloned. | 674 | 18.1k | visitBlocksDepthFirst(startBB); | 675 | | | 676 | 18.1k | commonFixUp(F); | 677 | 18.1k | } |
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20cloneReachableBlocksEPNS_13SILBasicBlockEN4llvm8ArrayRefIS5_EES5_b Line | Count | Source | 651 | 10 | bool havePrepopulatedFunctionArgs) { | 652 | | | 653 | 10 | SILFunction *F = startBB->getParent(); | 654 | 10 | assert(F == &Builder.getFunction() | 655 | 10 | && "cannot clone region across functions."); | 656 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 657 | 0 | assert((havePrepopulatedFunctionArgs || ValueMap.empty()) && | 658 | 10 | "Stale ValueMap."); | 659 | | | 660 | 10 | auto *clonedStartBB = insertAfterBB ? F->createBasicBlockAfter(insertAfterBB) | 661 | 10 | : F->createBasicBlock(); | 662 | | | 663 | 10 | BBMap.insert(std::make_pair(startBB, clonedStartBB)); | 664 | 10 | getBuilder().setInsertionPoint(clonedStartBB); | 665 | 10 | clonePhiArgs(startBB); | 666 | | | 667 | | // Premap exit blocks to terminate so that visitBlocksDepthFirst terminates | 668 | | // after discovering the cloned region. Mapping an exit block to itself | 669 | | // provides the correct destination block during visitTerminator. | 670 | 10 | for (auto *exitBB : exitBlocks) | 671 | 18 | BBMap[exitBB] = exitBB; | 672 | | | 673 | | // Discover and map the region to be cloned. | 674 | 10 | visitBlocksDepthFirst(startBB); | 675 | | | 676 | 10 | commonFixUp(F); | 677 | 10 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20cloneReachableBlocksEPNS_13SILBasicBlockEN4llvm8ArrayRefIS5_EES5_b Line | Count | Source | 651 | 2.62k | bool havePrepopulatedFunctionArgs) { | 652 | | | 653 | 2.62k | SILFunction *F = startBB->getParent(); | 654 | 2.62k | assert(F == &Builder.getFunction() | 655 | 2.62k | && "cannot clone region across functions."); | 656 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 657 | 0 | assert((havePrepopulatedFunctionArgs || ValueMap.empty()) && | 658 | 2.62k | "Stale ValueMap."); | 659 | | | 660 | 2.62k | auto *clonedStartBB = insertAfterBB ? F->createBasicBlockAfter(insertAfterBB) | 661 | 2.62k | : F->createBasicBlock(); | 662 | | | 663 | 2.62k | BBMap.insert(std::make_pair(startBB, clonedStartBB)); | 664 | 2.62k | getBuilder().setInsertionPoint(clonedStartBB); | 665 | 2.62k | clonePhiArgs(startBB); | 666 | | | 667 | | // Premap exit blocks to terminate so that visitBlocksDepthFirst terminates | 668 | | // after discovering the cloned region. Mapping an exit block to itself | 669 | | // provides the correct destination block during visitTerminator. | 670 | 2.62k | for (auto *exitBB : exitBlocks) | 671 | 2.62k | BBMap[exitBB] = exitBB; | 672 | | | 673 | | // Discover and map the region to be cloned. | 674 | 2.62k | visitBlocksDepthFirst(startBB); | 675 | | | 676 | 2.62k | commonFixUp(F); | 677 | 2.62k | } |
|
678 | | |
679 | | template <typename ImplClass> |
680 | | void SILCloner<ImplClass>::cloneFunctionBody(SILFunction *F, |
681 | | SILBasicBlock *clonedEntryBB, |
682 | | ArrayRef<SILValue> entryArgs, |
683 | 188k | bool replaceOriginalFunctionInPlace) { |
684 | | |
685 | 188k | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && |
686 | 188k | "Must clone into a new function."); |
687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); |
688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); |
689 | | |
690 | 0 | assert(entryArgs.size() == F->getArguments().size()); |
691 | 591k | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) |
692 | 403k | ValueMap[F->getArgument(i)] = entryArgs[i]; |
693 | | |
694 | 188k | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); |
695 | | |
696 | 188k | Builder.setInsertionPoint(clonedEntryBB); |
697 | | |
698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. |
699 | 188k | visitBlocksDepthFirst(&*F->begin()); |
700 | | |
701 | 188k | commonFixUp(F); |
702 | 188k | } Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb Line | Count | Source | 683 | 1 | bool replaceOriginalFunctionInPlace) { | 684 | | | 685 | 1 | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && | 686 | 1 | "Must clone into a new function."); | 687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); | 689 | | | 690 | 0 | assert(entryArgs.size() == F->getArguments().size()); | 691 | 2 | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) | 692 | 1 | ValueMap[F->getArgument(i)] = entryArgs[i]; | 693 | | | 694 | 1 | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); | 695 | | | 696 | 1 | Builder.setInsertionPoint(clonedEntryBB); | 697 | | | 698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. | 699 | 1 | visitBlocksDepthFirst(&*F->begin()); | 700 | | | 701 | 1 | commonFixUp(F); | 702 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb Line | Count | Source | 683 | 339 | bool replaceOriginalFunctionInPlace) { | 684 | | | 685 | 339 | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && | 686 | 339 | "Must clone into a new function."); | 687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); | 689 | | | 690 | 0 | assert(entryArgs.size() == F->getArguments().size()); | 691 | 922 | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) | 692 | 583 | ValueMap[F->getArgument(i)] = entryArgs[i]; | 693 | | | 694 | 339 | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); | 695 | | | 696 | 339 | Builder.setInsertionPoint(clonedEntryBB); | 697 | | | 698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. | 699 | 339 | visitBlocksDepthFirst(&*F->begin()); | 700 | | | 701 | 339 | commonFixUp(F); | 702 | 339 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb Line | Count | Source | 683 | 1.31k | bool replaceOriginalFunctionInPlace) { | 684 | | | 685 | 1.31k | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && | 686 | 1.31k | "Must clone into a new function."); | 687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); | 689 | | | 690 | 0 | assert(entryArgs.size() == F->getArguments().size()); | 691 | 3.76k | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) | 692 | 2.45k | ValueMap[F->getArgument(i)] = entryArgs[i]; | 693 | | | 694 | 1.31k | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); | 695 | | | 696 | 1.31k | Builder.setInsertionPoint(clonedEntryBB); | 697 | | | 698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. | 699 | 1.31k | visitBlocksDepthFirst(&*F->begin()); | 700 | | | 701 | 1.31k | commonFixUp(F); | 702 | 1.31k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb Line | Count | Source | 683 | 155 | bool replaceOriginalFunctionInPlace) { | 684 | | | 685 | 155 | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && | 686 | 155 | "Must clone into a new function."); | 687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); | 689 | | | 690 | 0 | assert(entryArgs.size() == F->getArguments().size()); | 691 | 636 | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) | 692 | 481 | ValueMap[F->getArgument(i)] = entryArgs[i]; | 693 | | | 694 | 155 | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); | 695 | | | 696 | 155 | Builder.setInsertionPoint(clonedEntryBB); | 697 | | | 698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. | 699 | 155 | visitBlocksDepthFirst(&*F->begin()); | 700 | | | 701 | 155 | commonFixUp(F); | 702 | 155 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb Line | Count | Source | 683 | 128 | bool replaceOriginalFunctionInPlace) { | 684 | | | 685 | 128 | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && | 686 | 128 | "Must clone into a new function."); | 687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); | 689 | | | 690 | 0 | assert(entryArgs.size() == F->getArguments().size()); | 691 | 396 | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) | 692 | 268 | ValueMap[F->getArgument(i)] = entryArgs[i]; | 693 | | | 694 | 128 | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); | 695 | | | 696 | 128 | Builder.setInsertionPoint(clonedEntryBB); | 697 | | | 698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. | 699 | 128 | visitBlocksDepthFirst(&*F->begin()); | 700 | | | 701 | 128 | commonFixUp(F); | 702 | 128 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb Line | Count | Source | 683 | 257 | bool replaceOriginalFunctionInPlace) { | 684 | | | 685 | 257 | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && | 686 | 257 | "Must clone into a new function."); | 687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); | 689 | | | 690 | 0 | assert(entryArgs.size() == F->getArguments().size()); | 691 | 951 | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) | 692 | 694 | ValueMap[F->getArgument(i)] = entryArgs[i]; | 693 | | | 694 | 257 | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); | 695 | | | 696 | 257 | Builder.setInsertionPoint(clonedEntryBB); | 697 | | | 698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. | 699 | 257 | visitBlocksDepthFirst(&*F->begin()); | 700 | | | 701 | 257 | commonFixUp(F); | 702 | 257 | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb Line | Count | Source | 683 | 8 | bool replaceOriginalFunctionInPlace) { | 684 | | | 685 | 8 | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && | 686 | 8 | "Must clone into a new function."); | 687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); | 689 | | | 690 | 0 | assert(entryArgs.size() == F->getArguments().size()); | 691 | 32 | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) | 692 | 24 | ValueMap[F->getArgument(i)] = entryArgs[i]; | 693 | | | 694 | 8 | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); | 695 | | | 696 | 8 | Builder.setInsertionPoint(clonedEntryBB); | 697 | | | 698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. | 699 | 8 | visitBlocksDepthFirst(&*F->begin()); | 700 | | | 701 | 8 | commonFixUp(F); | 702 | 8 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb Line | Count | Source | 683 | 5 | bool replaceOriginalFunctionInPlace) { | 684 | | | 685 | 5 | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && | 686 | 5 | "Must clone into a new function."); | 687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); | 689 | | | 690 | 0 | assert(entryArgs.size() == F->getArguments().size()); | 691 | 29 | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) | 692 | 24 | ValueMap[F->getArgument(i)] = entryArgs[i]; | 693 | | | 694 | 5 | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); | 695 | | | 696 | 5 | Builder.setInsertionPoint(clonedEntryBB); | 697 | | | 698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. | 699 | 5 | visitBlocksDepthFirst(&*F->begin()); | 700 | | | 701 | 5 | commonFixUp(F); | 702 | 5 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb _ZN5swift9SILClonerINS_13GenericClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb Line | Count | Source | 683 | 25.9k | bool replaceOriginalFunctionInPlace) { | 684 | | | 685 | 25.9k | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && | 686 | 25.9k | "Must clone into a new function."); | 687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); | 689 | | | 690 | 0 | assert(entryArgs.size() == F->getArguments().size()); | 691 | 81.2k | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) | 692 | 55.2k | ValueMap[F->getArgument(i)] = entryArgs[i]; | 693 | | | 694 | 25.9k | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); | 695 | | | 696 | 25.9k | Builder.setInsertionPoint(clonedEntryBB); | 697 | | | 698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. | 699 | 25.9k | visitBlocksDepthFirst(&*F->begin()); | 700 | | | 701 | 25.9k | commonFixUp(F); | 702 | 25.9k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb Line | Count | Source | 683 | 160k | bool replaceOriginalFunctionInPlace) { | 684 | | | 685 | 160k | assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) && | 686 | 160k | "Must clone into a new function."); | 687 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); | 688 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); | 689 | | | 690 | 0 | assert(entryArgs.size() == F->getArguments().size()); | 691 | 504k | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) | 692 | 343k | ValueMap[F->getArgument(i)] = entryArgs[i]; | 693 | | | 694 | 160k | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); | 695 | | | 696 | 160k | Builder.setInsertionPoint(clonedEntryBB); | 697 | | | 698 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. | 699 | 160k | visitBlocksDepthFirst(&*F->begin()); | 700 | | | 701 | 160k | commonFixUp(F); | 702 | 160k | } |
|
703 | | |
704 | | template <typename ImplClass> |
705 | | void SILCloner<ImplClass>::cloneFunctionBody( |
706 | | SILFunction *F, SILBasicBlock *clonedEntryBB, ArrayRef<SILValue> entryArgs, |
707 | 0 | llvm::function_ref<SILValue(SILValue)> entryArgIndexToOldArgIndex) { |
708 | 0 | assert(F != clonedEntryBB->getParent() && "Must clone into a new function."); |
709 | 0 | assert(BBMap.empty() && "This API does not allow clients to map blocks."); |
710 | 0 | assert(ValueMap.empty() && "Stale ValueMap."); |
711 | | |
712 | 0 | assert(entryArgs.size() == F->getArguments().size()); |
713 | 0 | for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) { |
714 | 0 | ValueMap[entryArgIndexToOldArgIndex(entryArgs[i])] = entryArgs[i]; |
715 | 0 | } |
716 | |
|
717 | 0 | BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB)); |
718 | |
|
719 | 0 | Builder.setInsertionPoint(clonedEntryBB); |
720 | | |
721 | | // This will layout all newly cloned blocks immediate after clonedEntryBB. |
722 | 0 | visitBlocksDepthFirst(&*F->begin()); |
723 | |
|
724 | 0 | commonFixUp(F); |
725 | 0 | } |
726 | | |
727 | | template<typename ImplClass> |
728 | 1.04M | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { |
729 | 1.04M | auto *mappedBB = BBMap[oldBB]; |
730 | | |
731 | | // Create new arguments for each of the original block's arguments. |
732 | 1.04M | for (auto *Arg : oldBB->getSILPhiArguments()) { |
733 | 257k | SILValue mappedArg = mappedBB->createPhiArgument( |
734 | 257k | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), |
735 | 257k | Arg->isReborrow(), Arg->hasPointerEscape()); |
736 | | |
737 | 257k | asImpl().mapValue(Arg, mappedArg); |
738 | 257k | } |
739 | 1.04M | } Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE12clonePhiArgsEPNS_13SILBasicBlockE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 499 | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 499 | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 499 | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 173 | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 173 | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 173 | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 173 | asImpl().mapValue(Arg, mappedArg); | 738 | 173 | } | 739 | 499 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 3.85k | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 3.85k | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 3.85k | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 952 | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 952 | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 952 | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 952 | asImpl().mapValue(Arg, mappedArg); | 738 | 952 | } | 739 | 3.85k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 54.1k | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 54.1k | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 54.1k | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 18.1k | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 18.1k | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 18.1k | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 18.1k | asImpl().mapValue(Arg, mappedArg); | 738 | 18.1k | } | 739 | 54.1k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 58 | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 58 | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 58 | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 16 | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 16 | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 16 | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 16 | asImpl().mapValue(Arg, mappedArg); | 738 | 16 | } | 739 | 58 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 10.6k | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 10.6k | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 10.6k | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 2.33k | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 2.33k | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 2.33k | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 2.33k | asImpl().mapValue(Arg, mappedArg); | 738 | 2.33k | } | 739 | 10.6k | } |
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 86 | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 86 | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 86 | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 24 | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 24 | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 24 | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 24 | asImpl().mapValue(Arg, mappedArg); | 738 | 24 | } | 739 | 86 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 7.87k | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 7.87k | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 7.87k | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 7.86k | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 7.86k | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 7.86k | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 7.86k | asImpl().mapValue(Arg, mappedArg); | 738 | 7.86k | } | 739 | 7.87k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 30 | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 30 | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 30 | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 14 | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 14 | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 14 | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 14 | asImpl().mapValue(Arg, mappedArg); | 738 | 14 | } | 739 | 30 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE12clonePhiArgsEPNS_13SILBasicBlockE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 44 | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 44 | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 44 | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 15 | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 15 | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 15 | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 15 | asImpl().mapValue(Arg, mappedArg); | 738 | 15 | } | 739 | 44 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE12clonePhiArgsEPNS_13SILBasicBlockE _ZN5swift9SILClonerINS_13GenericClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 308k | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 308k | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 308k | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 47.6k | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 47.6k | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 47.6k | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 47.6k | asImpl().mapValue(Arg, mappedArg); | 738 | 47.6k | } | 739 | 308k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE12clonePhiArgsEPNS_13SILBasicBlockE Line | Count | Source | 728 | 660k | void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) { | 729 | 660k | auto *mappedBB = BBMap[oldBB]; | 730 | | | 731 | | // Create new arguments for each of the original block's arguments. | 732 | 660k | for (auto *Arg : oldBB->getSILPhiArguments()) { | 733 | 180k | SILValue mappedArg = mappedBB->createPhiArgument( | 734 | 180k | getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(), | 735 | 180k | Arg->isReborrow(), Arg->hasPointerEscape()); | 736 | | | 737 | 180k | asImpl().mapValue(Arg, mappedArg); | 738 | 180k | } | 739 | 660k | } |
|
740 | | |
741 | | // This private helper visits BBs in depth-first preorder (only processing |
742 | | // blocks on the first visit), mapping newly visited BBs to new BBs and cloning |
743 | | // all instructions into the caller. |
744 | | template <typename ImplClass> |
745 | 209k | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { |
746 | | // The caller clones startBB because it may be a function header, which |
747 | | // requires special handling. |
748 | 209k | assert(BBMap.count(startBB) && "The caller must map the first BB."); |
749 | | |
750 | 0 | assert(preorderBlocks.empty()); |
751 | | |
752 | | // First clone the CFG region. |
753 | | // |
754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT |
755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would |
756 | | // not create as large a worklist for functions with many large switches. |
757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); |
758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the |
759 | | // order they are created, which differs from the order they are |
760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no |
761 | | // critical edges are present). |
762 | 209k | lastClonedBB = BBMap[startBB]; |
763 | 1.44M | while (!dfsWorklist.empty()) { |
764 | 1.23M | auto *BB = dfsWorklist.pop_back_val(); |
765 | 1.23M | preorderBlocks.push_back(BB); |
766 | | |
767 | | // Phis are cloned during the first preorder walk so that successor phis |
768 | | // exist before predecessor terminators are generated. |
769 | 1.23M | if (BB != startBB) |
770 | 1.02M | clonePhiArgs(BB); |
771 | | |
772 | | // Non-terminating instructions are cloned in the first preorder walk. |
773 | 1.23M | getBuilder().setInsertionPoint(BBMap[BB]); |
774 | 1.23M | asImpl().visitInstructionsInBlock(BB); |
775 | | |
776 | 1.23M | unsigned dfsSuccStartIdx = dfsWorklist.size(); |
777 | | |
778 | | // splitEdge may rewrite BB's successors during this loop. |
779 | 1.23M | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); |
780 | 2.54M | succIdx != numSucc; ++succIdx) { |
781 | | |
782 | | // Only visit a successor that has not already been visited and was not |
783 | | // premapped by the client. |
784 | 1.31M | if (BBMap.count(BB->getSuccessors()[succIdx])) { |
785 | | // After cloning BB, this successor may be a new CFG merge. If it is |
786 | | // valid to branch directly from the BB to its clone do nothing; if not, |
787 | | // split the edge from BB->succ and clone the new block. |
788 | | // |
789 | | // A CFG merge may require new block arguments, so check for both a |
790 | | // critical edge and the ability to add branch arguments (BranchInst). |
791 | 327k | if (BB->getSingleSuccessorBlock() |
792 | 327k | && isa<BranchInst>(BB->getTerminator())) { |
793 | 288k | continue; |
794 | 288k | } |
795 | | // This predecessor has multiple successors, so cloning it without |
796 | | // cloning its successors would create a critical edge. |
797 | 38.6k | splitEdge(BB->getTerminator(), succIdx, DomTree); |
798 | 38.6k | assert(!BBMap.count(BB->getSuccessors()[succIdx])); |
799 | 38.6k | } |
800 | | // Map the successor to a new BB. Layout the cloned blocks in the order |
801 | | // they are visited and cloned. |
802 | 1.02M | lastClonedBB = |
803 | 1.02M | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); |
804 | | |
805 | | // After splitting, BB has stable successors. |
806 | 1.02M | auto &succ = BB->getSuccessors()[succIdx]; |
807 | 1.02M | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); |
808 | | |
809 | 1.02M | dfsWorklist.push_back(succ); |
810 | 1.02M | } |
811 | | // Reverse the worklist to pop the successors in forward order. This |
812 | | // precisely yields DFS preorder when no critical edges are present. |
813 | 1.23M | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); |
814 | 1.23M | } |
815 | | // Visit terminators only after the CFG is valid so all branch targets exist. |
816 | | // |
817 | | // Visiting in pre-order provides a nice property for the individual |
818 | | // instruction visitors. It allows those visitors to make use of dominance |
819 | | // relationships, particularly the fact that operand values will be mapped. |
820 | 1.23M | for (auto *origBB : preorderBlocks) { |
821 | | // Set the insertion point to the new mapped BB |
822 | 1.23M | getBuilder().setInsertionPoint(BBMap[origBB]); |
823 | 1.23M | asImpl().visitTerminator(origBB); |
824 | 1.23M | } |
825 | 209k | } Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 1 | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 1 | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 1 | lastClonedBB = BBMap[startBB]; | 763 | 2 | while (!dfsWorklist.empty()) { | 764 | 1 | auto *BB = dfsWorklist.pop_back_val(); | 765 | 1 | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 1 | if (BB != startBB) | 770 | 0 | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 1 | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 1 | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 1 | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 1 | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 1 | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 0 | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 0 | if (BB->getSingleSuccessorBlock() | 792 | 0 | && isa<BranchInst>(BB->getTerminator())) { | 793 | 0 | continue; | 794 | 0 | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 0 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 0 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 0 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 0 | lastClonedBB = | 803 | 0 | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 0 | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 0 | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | |
| 809 | 0 | dfsWorklist.push_back(succ); | 810 | 0 | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 1 | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 1 | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 1 | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 1 | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 1 | asImpl().visitTerminator(origBB); | 824 | 1 | } | 825 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 339 | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 339 | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 339 | lastClonedBB = BBMap[startBB]; | 763 | 678 | while (!dfsWorklist.empty()) { | 764 | 339 | auto *BB = dfsWorklist.pop_back_val(); | 765 | 339 | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 339 | if (BB != startBB) | 770 | 0 | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 339 | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 339 | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 339 | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 339 | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 339 | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 0 | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 0 | if (BB->getSingleSuccessorBlock() | 792 | 0 | && isa<BranchInst>(BB->getTerminator())) { | 793 | 0 | continue; | 794 | 0 | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 0 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 0 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 0 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 0 | lastClonedBB = | 803 | 0 | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 0 | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 0 | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | |
| 809 | 0 | dfsWorklist.push_back(succ); | 810 | 0 | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 339 | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 339 | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 339 | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 339 | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 339 | asImpl().visitTerminator(origBB); | 824 | 339 | } | 825 | 339 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 1.31k | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 1.31k | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 1.31k | lastClonedBB = BBMap[startBB]; | 763 | 3.12k | while (!dfsWorklist.empty()) { | 764 | 1.81k | auto *BB = dfsWorklist.pop_back_val(); | 765 | 1.81k | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 1.81k | if (BB != startBB) | 770 | 499 | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 1.81k | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 1.81k | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 1.81k | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 1.81k | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 2.47k | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 662 | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 163 | if (BB->getSingleSuccessorBlock() | 792 | 163 | && isa<BranchInst>(BB->getTerminator())) { | 793 | 163 | continue; | 794 | 163 | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 0 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 0 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 0 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 499 | lastClonedBB = | 803 | 499 | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 499 | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 499 | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 499 | dfsWorklist.push_back(succ); | 810 | 499 | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 1.81k | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 1.81k | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 1.81k | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 1.81k | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 1.81k | asImpl().visitTerminator(origBB); | 824 | 1.81k | } | 825 | 1.31k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 155 | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 155 | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 155 | lastClonedBB = BBMap[startBB]; | 763 | 4.16k | while (!dfsWorklist.empty()) { | 764 | 4.00k | auto *BB = dfsWorklist.pop_back_val(); | 765 | 4.00k | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 4.00k | if (BB != startBB) | 770 | 3.85k | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 4.00k | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 4.00k | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 4.00k | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 4.00k | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 9.34k | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 5.33k | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 1.48k | if (BB->getSingleSuccessorBlock() | 792 | 1.48k | && isa<BranchInst>(BB->getTerminator())) { | 793 | 1.48k | continue; | 794 | 1.48k | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 0 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 0 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 0 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 3.85k | lastClonedBB = | 803 | 3.85k | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 3.85k | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 3.85k | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 3.85k | dfsWorklist.push_back(succ); | 810 | 3.85k | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 4.00k | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 4.00k | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 4.00k | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 4.00k | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 4.00k | asImpl().visitTerminator(origBB); | 824 | 4.00k | } | 825 | 155 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 18.1k | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 18.1k | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 18.1k | lastClonedBB = BBMap[startBB]; | 763 | 72.3k | while (!dfsWorklist.empty()) { | 764 | 54.1k | auto *BB = dfsWorklist.pop_back_val(); | 765 | 54.1k | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 54.1k | if (BB != startBB) | 770 | 36.0k | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 54.1k | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 54.1k | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 54.1k | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 54.1k | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 126k | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 72.4k | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 72.4k | if (BB->getSingleSuccessorBlock() | 792 | 72.4k | && isa<BranchInst>(BB->getTerminator())) { | 793 | 36.4k | continue; | 794 | 36.4k | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 36.0k | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 36.0k | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 36.0k | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 36.0k | lastClonedBB = | 803 | 36.0k | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 36.0k | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 36.0k | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 36.0k | dfsWorklist.push_back(succ); | 810 | 36.0k | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 54.1k | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 54.1k | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 54.1k | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 54.1k | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 54.1k | asImpl().visitTerminator(origBB); | 824 | 54.1k | } | 825 | 18.1k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 128 | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 128 | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 128 | lastClonedBB = BBMap[startBB]; | 763 | 314 | while (!dfsWorklist.empty()) { | 764 | 186 | auto *BB = dfsWorklist.pop_back_val(); | 765 | 186 | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 186 | if (BB != startBB) | 770 | 58 | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 186 | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 186 | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 186 | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 186 | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 256 | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 70 | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 12 | if (BB->getSingleSuccessorBlock() | 792 | 12 | && isa<BranchInst>(BB->getTerminator())) { | 793 | 12 | continue; | 794 | 12 | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 0 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 0 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 0 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 58 | lastClonedBB = | 803 | 58 | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 58 | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 58 | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 58 | dfsWorklist.push_back(succ); | 810 | 58 | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 186 | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 186 | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 186 | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 186 | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 186 | asImpl().visitTerminator(origBB); | 824 | 186 | } | 825 | 128 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 257 | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 257 | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 257 | lastClonedBB = BBMap[startBB]; | 763 | 11.2k | while (!dfsWorklist.empty()) { | 764 | 10.9k | auto *BB = dfsWorklist.pop_back_val(); | 765 | 10.9k | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 10.9k | if (BB != startBB) | 770 | 10.6k | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 10.9k | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 10.9k | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 10.9k | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 10.9k | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 24.2k | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 13.2k | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 2.59k | if (BB->getSingleSuccessorBlock() | 792 | 2.59k | && isa<BranchInst>(BB->getTerminator())) { | 793 | 2.59k | continue; | 794 | 2.59k | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 0 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 0 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 0 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 10.6k | lastClonedBB = | 803 | 10.6k | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 10.6k | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 10.6k | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 10.6k | dfsWorklist.push_back(succ); | 810 | 10.6k | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 10.9k | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 10.9k | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 10.9k | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 10.9k | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 10.9k | asImpl().visitTerminator(origBB); | 824 | 10.9k | } | 825 | 257 | } |
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 10 | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 10 | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 10 | lastClonedBB = BBMap[startBB]; | 763 | 96 | while (!dfsWorklist.empty()) { | 764 | 86 | auto *BB = dfsWorklist.pop_back_val(); | 765 | 86 | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 86 | if (BB != startBB) | 770 | 76 | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 86 | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 86 | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 86 | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 86 | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 200 | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 114 | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 56 | if (BB->getSingleSuccessorBlock() | 792 | 56 | && isa<BranchInst>(BB->getTerminator())) { | 793 | 38 | continue; | 794 | 38 | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 18 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 18 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 18 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 76 | lastClonedBB = | 803 | 76 | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 76 | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 76 | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 76 | dfsWorklist.push_back(succ); | 810 | 76 | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 86 | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 86 | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 86 | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 86 | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 86 | asImpl().visitTerminator(origBB); | 824 | 86 | } | 825 | 10 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 2.62k | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 2.62k | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 2.62k | lastClonedBB = BBMap[startBB]; | 763 | 10.4k | while (!dfsWorklist.empty()) { | 764 | 7.87k | auto *BB = dfsWorklist.pop_back_val(); | 765 | 7.87k | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 7.87k | if (BB != startBB) | 770 | 5.24k | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 7.87k | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 7.87k | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 7.87k | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 7.87k | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 18.3k | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 10.4k | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 7.87k | if (BB->getSingleSuccessorBlock() | 792 | 7.87k | && isa<BranchInst>(BB->getTerminator())) { | 793 | 5.24k | continue; | 794 | 5.24k | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 2.62k | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 2.62k | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 2.62k | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 5.24k | lastClonedBB = | 803 | 5.24k | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 5.24k | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 5.24k | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 5.24k | dfsWorklist.push_back(succ); | 810 | 5.24k | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 7.87k | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 7.87k | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 7.87k | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 7.87k | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 7.87k | asImpl().visitTerminator(origBB); | 824 | 7.87k | } | 825 | 2.62k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 8 | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 8 | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 8 | lastClonedBB = BBMap[startBB]; | 763 | 46 | while (!dfsWorklist.empty()) { | 764 | 38 | auto *BB = dfsWorklist.pop_back_val(); | 765 | 38 | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 38 | if (BB != startBB) | 770 | 30 | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 38 | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 38 | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 38 | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 38 | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 74 | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 36 | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 6 | if (BB->getSingleSuccessorBlock() | 792 | 6 | && isa<BranchInst>(BB->getTerminator())) { | 793 | 6 | continue; | 794 | 6 | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 0 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 0 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 0 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 30 | lastClonedBB = | 803 | 30 | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 30 | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 30 | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 30 | dfsWorklist.push_back(succ); | 810 | 30 | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 38 | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 38 | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 38 | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 38 | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 38 | asImpl().visitTerminator(origBB); | 824 | 38 | } | 825 | 8 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 5 | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 5 | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 5 | lastClonedBB = BBMap[startBB]; | 763 | 54 | while (!dfsWorklist.empty()) { | 764 | 49 | auto *BB = dfsWorklist.pop_back_val(); | 765 | 49 | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 49 | if (BB != startBB) | 770 | 44 | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 49 | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 49 | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 49 | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 49 | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 104 | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 55 | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 11 | if (BB->getSingleSuccessorBlock() | 792 | 11 | && isa<BranchInst>(BB->getTerminator())) { | 793 | 11 | continue; | 794 | 11 | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 0 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 0 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 0 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 44 | lastClonedBB = | 803 | 44 | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 44 | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 44 | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 44 | dfsWorklist.push_back(succ); | 810 | 44 | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 49 | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 49 | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 49 | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 49 | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 49 | asImpl().visitTerminator(origBB); | 824 | 49 | } | 825 | 5 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE _ZN5swift9SILClonerINS_13GenericClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 25.9k | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 25.9k | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 25.9k | lastClonedBB = BBMap[startBB]; | 763 | 360k | while (!dfsWorklist.empty()) { | 764 | 334k | auto *BB = dfsWorklist.pop_back_val(); | 765 | 334k | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 334k | if (BB != startBB) | 770 | 308k | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 334k | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 334k | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 334k | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 334k | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 725k | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 391k | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 83.1k | if (BB->getSingleSuccessorBlock() | 792 | 83.1k | && isa<BranchInst>(BB->getTerminator())) { | 793 | 83.1k | continue; | 794 | 83.1k | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 0 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 0 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 0 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 308k | lastClonedBB = | 803 | 308k | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 308k | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 308k | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 308k | dfsWorklist.push_back(succ); | 810 | 308k | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 334k | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 334k | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 334k | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 334k | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 334k | asImpl().visitTerminator(origBB); | 824 | 334k | } | 825 | 25.9k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE Line | Count | Source | 745 | 160k | void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) { | 746 | | // The caller clones startBB because it may be a function header, which | 747 | | // requires special handling. | 748 | 160k | assert(BBMap.count(startBB) && "The caller must map the first BB."); | 749 | | | 750 | 0 | assert(preorderBlocks.empty()); | 751 | | | 752 | | // First clone the CFG region. | 753 | | // | 754 | | // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT | 755 | | // traversal. We would prefer to keep CFG regions in RPO order, and this would | 756 | | // not create as large a worklist for functions with many large switches. | 757 | 0 | SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB); | 758 | | // Keep a reference to the last cloned BB so blocks can be laid out in the | 759 | | // order they are created, which differs from the order they are | 760 | | // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no | 761 | | // critical edges are present). | 762 | 160k | lastClonedBB = BBMap[startBB]; | 763 | 982k | while (!dfsWorklist.empty()) { | 764 | 821k | auto *BB = dfsWorklist.pop_back_val(); | 765 | 821k | preorderBlocks.push_back(BB); | 766 | | | 767 | | // Phis are cloned during the first preorder walk so that successor phis | 768 | | // exist before predecessor terminators are generated. | 769 | 821k | if (BB != startBB) | 770 | 660k | clonePhiArgs(BB); | 771 | | | 772 | | // Non-terminating instructions are cloned in the first preorder walk. | 773 | 821k | getBuilder().setInsertionPoint(BBMap[BB]); | 774 | 821k | asImpl().visitInstructionsInBlock(BB); | 775 | | | 776 | 821k | unsigned dfsSuccStartIdx = dfsWorklist.size(); | 777 | | | 778 | | // splitEdge may rewrite BB's successors during this loop. | 779 | 821k | for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size(); | 780 | 1.64M | succIdx != numSucc; ++succIdx) { | 781 | | | 782 | | // Only visit a successor that has not already been visited and was not | 783 | | // premapped by the client. | 784 | 820k | if (BBMap.count(BB->getSuccessors()[succIdx])) { | 785 | | // After cloning BB, this successor may be a new CFG merge. If it is | 786 | | // valid to branch directly from the BB to its clone do nothing; if not, | 787 | | // split the edge from BB->succ and clone the new block. | 788 | | // | 789 | | // A CFG merge may require new block arguments, so check for both a | 790 | | // critical edge and the ability to add branch arguments (BranchInst). | 791 | 159k | if (BB->getSingleSuccessorBlock() | 792 | 159k | && isa<BranchInst>(BB->getTerminator())) { | 793 | 159k | continue; | 794 | 159k | } | 795 | | // This predecessor has multiple successors, so cloning it without | 796 | | // cloning its successors would create a critical edge. | 797 | 0 | splitEdge(BB->getTerminator(), succIdx, DomTree); | 798 | 0 | assert(!BBMap.count(BB->getSuccessors()[succIdx])); | 799 | 0 | } | 800 | | // Map the successor to a new BB. Layout the cloned blocks in the order | 801 | | // they are visited and cloned. | 802 | 660k | lastClonedBB = | 803 | 660k | getBuilder().getFunction().createBasicBlockAfter(lastClonedBB); | 804 | | | 805 | | // After splitting, BB has stable successors. | 806 | 660k | auto &succ = BB->getSuccessors()[succIdx]; | 807 | 660k | BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB)); | 808 | | | 809 | 660k | dfsWorklist.push_back(succ); | 810 | 660k | } | 811 | | // Reverse the worklist to pop the successors in forward order. This | 812 | | // precisely yields DFS preorder when no critical edges are present. | 813 | 821k | std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end()); | 814 | 821k | } | 815 | | // Visit terminators only after the CFG is valid so all branch targets exist. | 816 | | // | 817 | | // Visiting in pre-order provides a nice property for the individual | 818 | | // instruction visitors. It allows those visitors to make use of dominance | 819 | | // relationships, particularly the fact that operand values will be mapped. | 820 | 821k | for (auto *origBB : preorderBlocks) { | 821 | | // Set the insertion point to the new mapped BB | 822 | 821k | getBuilder().setInsertionPoint(BBMap[origBB]); | 823 | 821k | asImpl().visitTerminator(origBB); | 824 | 821k | } | 825 | 160k | } |
|
826 | | |
827 | | /// Clean-up after cloning. |
828 | | template <typename ImplClass> |
829 | 209k | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { |
830 | | // Call any cleanup specific to the CRTP extensions. |
831 | 209k | asImpl().preFixUp(F); |
832 | | |
833 | | // If our source function is in ossa form, but the function into which we are |
834 | | // cloning is not in ossa, after we clone, eliminate default arguments. |
835 | 209k | if (!getBuilder().hasOwnership() && F->hasOwnership()) { |
836 | 493k | for (auto &Block : getBuilder().getFunction()) { |
837 | 493k | auto *Term = Block.getTerminator(); |
838 | 493k | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { |
839 | | // Check if we have a default argument. |
840 | 48.0k | auto *FailureBlock = CCBI->getFailureBB(); |
841 | 48.0k | assert(FailureBlock->getNumArguments() <= 1 && |
842 | 48.0k | "We should either have no args or a single default arg"); |
843 | 48.0k | if (0 == FailureBlock->getNumArguments()) |
844 | 47.8k | continue; |
845 | 159 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); |
846 | 159 | FailureBlock->eraseArgument(0); |
847 | 159 | continue; |
848 | 48.0k | } |
849 | | |
850 | 445k | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { |
851 | 32.6k | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { |
852 | 69 | assert(DefaultBlock.get()->getNumArguments() <= 1 && |
853 | 69 | "We should either have no args or a single default arg"); |
854 | 69 | if (0 == DefaultBlock.get()->getNumArguments()) |
855 | 69 | continue; |
856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( |
857 | 0 | SEI->getOperand()); |
858 | 0 | DefaultBlock.get()->eraseArgument(0); |
859 | 0 | continue; |
860 | 69 | } |
861 | 32.6k | } |
862 | 445k | } |
863 | 9.89k | } |
864 | | |
865 | | // Call any cleanup specific to the CRTP extensions. |
866 | 209k | asImpl().postFixUp(F); |
867 | 209k | } Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE11commonFixUpEPNS_11SILFunctionE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 1 | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 1 | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 1 | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 1 | asImpl().postFixUp(F); | 867 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 339 | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 339 | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 339 | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 339 | asImpl().postFixUp(F); | 867 | 339 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 1.31k | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 1.31k | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 1.31k | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 1.31k | asImpl().postFixUp(F); | 867 | 1.31k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 155 | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 155 | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 155 | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 155 | asImpl().postFixUp(F); | 867 | 155 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 18.1k | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 18.1k | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 18.1k | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 18.1k | asImpl().postFixUp(F); | 867 | 18.1k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 128 | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 128 | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 128 | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 128 | asImpl().postFixUp(F); | 867 | 128 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 257 | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 257 | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 257 | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 257 | asImpl().postFixUp(F); | 867 | 257 | } |
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 10 | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 10 | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 10 | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 10 | asImpl().postFixUp(F); | 867 | 10 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 2.62k | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 2.62k | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 2.62k | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 2.62k | asImpl().postFixUp(F); | 867 | 2.62k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 8 | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 8 | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 8 | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 8 | asImpl().postFixUp(F); | 867 | 8 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE11commonFixUpEPNS_11SILFunctionE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 5 | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 5 | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 5 | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 5 | asImpl().postFixUp(F); | 867 | 5 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE11commonFixUpEPNS_11SILFunctionE _ZN5swift9SILClonerINS_13GenericClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 25.9k | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 25.9k | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 25.9k | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 0 | for (auto &Block : getBuilder().getFunction()) { | 837 | 0 | auto *Term = Block.getTerminator(); | 838 | 0 | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 0 | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 0 | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 0 | "We should either have no args or a single default arg"); | 843 | 0 | if (0 == FailureBlock->getNumArguments()) | 844 | 0 | continue; | 845 | 0 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 0 | FailureBlock->eraseArgument(0); | 847 | 0 | continue; | 848 | 0 | } | 849 | | | 850 | 0 | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 0 | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 0 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 0 | "We should either have no args or a single default arg"); | 854 | 0 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 0 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 0 | } | 861 | 0 | } | 862 | 0 | } | 863 | 0 | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 25.9k | asImpl().postFixUp(F); | 867 | 25.9k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE11commonFixUpEPNS_11SILFunctionE Line | Count | Source | 829 | 160k | void SILCloner<ImplClass>::commonFixUp(SILFunction *F) { | 830 | | // Call any cleanup specific to the CRTP extensions. | 831 | 160k | asImpl().preFixUp(F); | 832 | | | 833 | | // If our source function is in ossa form, but the function into which we are | 834 | | // cloning is not in ossa, after we clone, eliminate default arguments. | 835 | 160k | if (!getBuilder().hasOwnership() && F->hasOwnership()) { | 836 | 493k | for (auto &Block : getBuilder().getFunction()) { | 837 | 493k | auto *Term = Block.getTerminator(); | 838 | 493k | if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) { | 839 | | // Check if we have a default argument. | 840 | 48.0k | auto *FailureBlock = CCBI->getFailureBB(); | 841 | 48.0k | assert(FailureBlock->getNumArguments() <= 1 && | 842 | 48.0k | "We should either have no args or a single default arg"); | 843 | 48.0k | if (0 == FailureBlock->getNumArguments()) | 844 | 47.8k | continue; | 845 | 159 | FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand()); | 846 | 159 | FailureBlock->eraseArgument(0); | 847 | 159 | continue; | 848 | 48.0k | } | 849 | | | 850 | 445k | if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) { | 851 | 32.6k | if (auto DefaultBlock = SEI->getDefaultBBOrNull()) { | 852 | 69 | assert(DefaultBlock.get()->getNumArguments() <= 1 && | 853 | 69 | "We should either have no args or a single default arg"); | 854 | 69 | if (0 == DefaultBlock.get()->getNumArguments()) | 855 | 69 | continue; | 856 | 0 | DefaultBlock.get()->getArgument(0)->replaceAllUsesWith( | 857 | 0 | SEI->getOperand()); | 858 | 0 | DefaultBlock.get()->eraseArgument(0); | 859 | 0 | continue; | 860 | 69 | } | 861 | 32.6k | } | 862 | 445k | } | 863 | 9.89k | } | 864 | | | 865 | | // Call any cleanup specific to the CRTP extensions. | 866 | 160k | asImpl().postFixUp(F); | 867 | 160k | } |
|
868 | | |
869 | | template<typename ImplClass> |
870 | | void |
871 | 87.6k | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { |
872 | 87.6k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! |
874 | 87.6k | SILLocation Loc = getOpLocation(Inst->getLoc()); |
875 | 87.6k | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); |
876 | 87.6k | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { |
877 | 18.2k | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); |
878 | 18.2k | VarInfo = llvm::None; |
879 | 18.2k | } |
880 | 87.6k | auto *NewInst = getBuilder().createAllocStack( |
881 | 87.6k | Loc, getOpType(Inst->getElementType()), VarInfo, |
882 | 87.6k | Inst->hasDynamicLifetime(), Inst->isLexical(), |
883 | 87.6k | Inst->getUsesMoveableValueDebugInfo() |
884 | 87.6k | #ifndef NDEBUG |
885 | 87.6k | , true |
886 | 87.6k | #endif |
887 | 87.6k | ); |
888 | 87.6k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); |
889 | 87.6k | recordClonedInstruction(Inst, NewInst); |
890 | 87.6k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitAllocStackInstEPNS_14AllocStackInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 315 | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 315 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 315 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 315 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 315 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 0 | VarInfo = llvm::None; | 879 | 0 | } | 880 | 315 | auto *NewInst = getBuilder().createAllocStack( | 881 | 315 | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 315 | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 315 | Inst->getUsesMoveableValueDebugInfo() | 884 | 315 | #ifndef NDEBUG | 885 | 315 | , true | 886 | 315 | #endif | 887 | 315 | ); | 888 | 315 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 315 | recordClonedInstruction(Inst, NewInst); | 890 | 315 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 1.61k | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 1.61k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 1.61k | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 1.61k | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 1.61k | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 0 | VarInfo = llvm::None; | 879 | 0 | } | 880 | 1.61k | auto *NewInst = getBuilder().createAllocStack( | 881 | 1.61k | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 1.61k | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 1.61k | Inst->getUsesMoveableValueDebugInfo() | 884 | 1.61k | #ifndef NDEBUG | 885 | 1.61k | , true | 886 | 1.61k | #endif | 887 | 1.61k | ); | 888 | 1.61k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 1.61k | recordClonedInstruction(Inst, NewInst); | 890 | 1.61k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 837 | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 837 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 837 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 837 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 837 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 4 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 4 | VarInfo = llvm::None; | 879 | 4 | } | 880 | 837 | auto *NewInst = getBuilder().createAllocStack( | 881 | 837 | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 837 | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 837 | Inst->getUsesMoveableValueDebugInfo() | 884 | 837 | #ifndef NDEBUG | 885 | 837 | , true | 886 | 837 | #endif | 887 | 837 | ); | 888 | 837 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 837 | recordClonedInstruction(Inst, NewInst); | 890 | 837 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitAllocStackInstEPNS_14AllocStackInstE CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 131 | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 131 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 131 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 131 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 131 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 0 | VarInfo = llvm::None; | 879 | 0 | } | 880 | 131 | auto *NewInst = getBuilder().createAllocStack( | 881 | 131 | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 131 | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 131 | Inst->getUsesMoveableValueDebugInfo() | 884 | 131 | #ifndef NDEBUG | 885 | 131 | , true | 886 | 131 | #endif | 887 | 131 | ); | 888 | 131 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 131 | recordClonedInstruction(Inst, NewInst); | 890 | 131 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 793 | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 793 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 793 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 793 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 793 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 12 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 12 | VarInfo = llvm::None; | 879 | 12 | } | 880 | 793 | auto *NewInst = getBuilder().createAllocStack( | 881 | 793 | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 793 | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 793 | Inst->getUsesMoveableValueDebugInfo() | 884 | 793 | #ifndef NDEBUG | 885 | 793 | , true | 886 | 793 | #endif | 887 | 793 | ); | 888 | 793 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 793 | recordClonedInstruction(Inst, NewInst); | 890 | 793 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 28 | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 28 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 28 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 28 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 28 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 0 | VarInfo = llvm::None; | 879 | 0 | } | 880 | 28 | auto *NewInst = getBuilder().createAllocStack( | 881 | 28 | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 28 | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 28 | Inst->getUsesMoveableValueDebugInfo() | 884 | 28 | #ifndef NDEBUG | 885 | 28 | , true | 886 | 28 | #endif | 887 | 28 | ); | 888 | 28 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 28 | recordClonedInstruction(Inst, NewInst); | 890 | 28 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitAllocStackInstEPNS_14AllocStackInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 52 | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 52 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 52 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 52 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 52 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 0 | VarInfo = llvm::None; | 879 | 0 | } | 880 | 52 | auto *NewInst = getBuilder().createAllocStack( | 881 | 52 | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 52 | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 52 | Inst->getUsesMoveableValueDebugInfo() | 884 | 52 | #ifndef NDEBUG | 885 | 52 | , true | 886 | 52 | #endif | 887 | 52 | ); | 888 | 52 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 52 | recordClonedInstruction(Inst, NewInst); | 890 | 52 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitAllocStackInstEPNS_14AllocStackInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 52 | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 52 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 52 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 52 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 52 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 0 | VarInfo = llvm::None; | 879 | 0 | } | 880 | 52 | auto *NewInst = getBuilder().createAllocStack( | 881 | 52 | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 52 | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 52 | Inst->getUsesMoveableValueDebugInfo() | 884 | 52 | #ifndef NDEBUG | 885 | 52 | , true | 886 | 52 | #endif | 887 | 52 | ); | 888 | 52 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 52 | recordClonedInstruction(Inst, NewInst); | 890 | 52 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitAllocStackInstEPNS_14AllocStackInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 62 | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 62 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 62 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 62 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 62 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 2 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 2 | VarInfo = llvm::None; | 879 | 2 | } | 880 | 62 | auto *NewInst = getBuilder().createAllocStack( | 881 | 62 | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 62 | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 62 | Inst->getUsesMoveableValueDebugInfo() | 884 | 62 | #ifndef NDEBUG | 885 | 62 | , true | 886 | 62 | #endif | 887 | 62 | ); | 888 | 62 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 62 | recordClonedInstruction(Inst, NewInst); | 890 | 62 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 2 | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 2 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 2 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 2 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 0 | VarInfo = llvm::None; | 879 | 0 | } | 880 | 2 | auto *NewInst = getBuilder().createAllocStack( | 881 | 2 | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 2 | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 2 | Inst->getUsesMoveableValueDebugInfo() | 884 | 2 | #ifndef NDEBUG | 885 | 2 | , true | 886 | 2 | #endif | 887 | 2 | ); | 888 | 2 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 2 | recordClonedInstruction(Inst, NewInst); | 890 | 2 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitAllocStackInstEPNS_14AllocStackInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 37.2k | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 37.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 37.2k | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 37.2k | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 37.2k | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 262 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 262 | VarInfo = llvm::None; | 879 | 262 | } | 880 | 37.2k | auto *NewInst = getBuilder().createAllocStack( | 881 | 37.2k | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 37.2k | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 37.2k | Inst->getUsesMoveableValueDebugInfo() | 884 | 37.2k | #ifndef NDEBUG | 885 | 37.2k | , true | 886 | 37.2k | #endif | 887 | 37.2k | ); | 888 | 37.2k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 37.2k | recordClonedInstruction(Inst, NewInst); | 890 | 37.2k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitAllocStackInstEPNS_14AllocStackInstE Line | Count | Source | 871 | 46.5k | SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) { | 872 | 46.5k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 873 | | // Drop the debug info from mandatory-inlined instructions. It's the law! | 874 | 46.5k | SILLocation Loc = getOpLocation(Inst->getLoc()); | 875 | 46.5k | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 876 | 46.5k | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 877 | 18.0k | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 878 | 18.0k | VarInfo = llvm::None; | 879 | 18.0k | } | 880 | 46.5k | auto *NewInst = getBuilder().createAllocStack( | 881 | 46.5k | Loc, getOpType(Inst->getElementType()), VarInfo, | 882 | 46.5k | Inst->hasDynamicLifetime(), Inst->isLexical(), | 883 | 46.5k | Inst->getUsesMoveableValueDebugInfo() | 884 | 46.5k | #ifndef NDEBUG | 885 | 46.5k | , true | 886 | 46.5k | #endif | 887 | 46.5k | ); | 888 | 46.5k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 889 | 46.5k | recordClonedInstruction(Inst, NewInst); | 890 | 46.5k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitAllocStackInstEPNS_14AllocStackInstE |
891 | | |
892 | | template <typename ImplClass> |
893 | | void SILCloner<ImplClass>::visitAllocPackMetadataInst( |
894 | 0 | AllocPackMetadataInst *Inst) { |
895 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
896 | 0 | recordClonedInstruction(Inst, getBuilder().createAllocPackMetadata( |
897 | 0 | getOpLocation(Inst->getLoc()))); |
898 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE |
899 | | |
900 | | template<typename ImplClass> |
901 | | void |
902 | 0 | SILCloner<ImplClass>::visitAllocPackInst(AllocPackInst *Inst) { |
903 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
904 | 0 | SILLocation Loc = getOpLocation(Inst->getLoc()); |
905 | 0 | auto *NewInst = getBuilder().createAllocPack( |
906 | 0 | Loc, getOpType(Inst->getType().getObjectType())); |
907 | 0 | recordClonedInstruction(Inst, NewInst); |
908 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE18visitAllocPackInstEPNS_13AllocPackInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitAllocPackInstEPNS_13AllocPackInstE |
909 | | |
910 | | template<typename ImplClass> |
911 | | void |
912 | 973 | SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) { |
913 | 973 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
914 | 973 | auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst-> |
915 | 973 | getTailAllocatedCounts())); |
916 | 973 | SmallVector<SILType, 4> ElemTypes; |
917 | 973 | for (SILType OrigElemType : Inst->getTailAllocatedTypes()) { |
918 | 734 | ElemTypes.push_back(getOpType(OrigElemType)); |
919 | 734 | } |
920 | 973 | auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()), |
921 | 973 | getOpType(Inst->getType()), |
922 | 973 | Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(), |
923 | 973 | ElemTypes, CountArgs); |
924 | 973 | recordClonedInstruction(Inst, NewInst); |
925 | 973 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitAllocRefInstEPNS_12AllocRefInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitAllocRefInstEPNS_12AllocRefInstE Line | Count | Source | 912 | 10 | SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) { | 913 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 914 | 10 | auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst-> | 915 | 10 | getTailAllocatedCounts())); | 916 | 10 | SmallVector<SILType, 4> ElemTypes; | 917 | 10 | for (SILType OrigElemType : Inst->getTailAllocatedTypes()) { | 918 | 0 | ElemTypes.push_back(getOpType(OrigElemType)); | 919 | 0 | } | 920 | 10 | auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()), | 921 | 10 | getOpType(Inst->getType()), | 922 | 10 | Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(), | 923 | 10 | ElemTypes, CountArgs); | 924 | 10 | recordClonedInstruction(Inst, NewInst); | 925 | 10 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Line | Count | Source | 912 | 2 | SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) { | 913 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 914 | 2 | auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst-> | 915 | 2 | getTailAllocatedCounts())); | 916 | 2 | SmallVector<SILType, 4> ElemTypes; | 917 | 2 | for (SILType OrigElemType : Inst->getTailAllocatedTypes()) { | 918 | 2 | ElemTypes.push_back(getOpType(OrigElemType)); | 919 | 2 | } | 920 | 2 | auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()), | 921 | 2 | getOpType(Inst->getType()), | 922 | 2 | Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(), | 923 | 2 | ElemTypes, CountArgs); | 924 | 2 | recordClonedInstruction(Inst, NewInst); | 925 | 2 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitAllocRefInstEPNS_12AllocRefInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Line | Count | Source | 912 | 1 | SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) { | 913 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 914 | 1 | auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst-> | 915 | 1 | getTailAllocatedCounts())); | 916 | 1 | SmallVector<SILType, 4> ElemTypes; | 917 | 1 | for (SILType OrigElemType : Inst->getTailAllocatedTypes()) { | 918 | 1 | ElemTypes.push_back(getOpType(OrigElemType)); | 919 | 1 | } | 920 | 1 | auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()), | 921 | 1 | getOpType(Inst->getType()), | 922 | 1 | Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(), | 923 | 1 | ElemTypes, CountArgs); | 924 | 1 | recordClonedInstruction(Inst, NewInst); | 925 | 1 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitAllocRefInstEPNS_12AllocRefInstE _ZN5swift9SILClonerINS_13GenericClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Line | Count | Source | 912 | 45 | SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) { | 913 | 45 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 914 | 45 | auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst-> | 915 | 45 | getTailAllocatedCounts())); | 916 | 45 | SmallVector<SILType, 4> ElemTypes; | 917 | 45 | for (SILType OrigElemType : Inst->getTailAllocatedTypes()) { | 918 | 11 | ElemTypes.push_back(getOpType(OrigElemType)); | 919 | 11 | } | 920 | 45 | auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()), | 921 | 45 | getOpType(Inst->getType()), | 922 | 45 | Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(), | 923 | 45 | ElemTypes, CountArgs); | 924 | 45 | recordClonedInstruction(Inst, NewInst); | 925 | 45 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitAllocRefInstEPNS_12AllocRefInstE Line | Count | Source | 912 | 915 | SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) { | 913 | 915 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 914 | 915 | auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst-> | 915 | 915 | getTailAllocatedCounts())); | 916 | 915 | SmallVector<SILType, 4> ElemTypes; | 917 | 915 | for (SILType OrigElemType : Inst->getTailAllocatedTypes()) { | 918 | 720 | ElemTypes.push_back(getOpType(OrigElemType)); | 919 | 720 | } | 920 | 915 | auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()), | 921 | 915 | getOpType(Inst->getType()), | 922 | 915 | Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(), | 923 | 915 | ElemTypes, CountArgs); | 924 | 915 | recordClonedInstruction(Inst, NewInst); | 925 | 915 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitAllocRefInstEPNS_12AllocRefInstE |
926 | | |
927 | | template<typename ImplClass> |
928 | | void |
929 | 713 | SILCloner<ImplClass>::visitAllocRefDynamicInst(AllocRefDynamicInst *Inst) { |
930 | 713 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
931 | 713 | auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst-> |
932 | 713 | getTailAllocatedCounts())); |
933 | 713 | SmallVector<SILType, 4> ElemTypes; |
934 | 713 | for (SILType OrigElemType : Inst->getTailAllocatedTypes()) { |
935 | 688 | ElemTypes.push_back(getOpType(OrigElemType)); |
936 | 688 | } |
937 | 713 | auto *NewInst = getBuilder().createAllocRefDynamic( |
938 | 713 | getOpLocation(Inst->getLoc()), |
939 | 713 | getOpValue(Inst->getMetatypeOperand()), |
940 | 713 | getOpType(Inst->getType()), |
941 | 713 | Inst->isObjC(), |
942 | 713 | Inst->canAllocOnStack(), |
943 | 713 | ElemTypes, CountArgs); |
944 | 713 | recordClonedInstruction(Inst, NewInst); |
945 | 713 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE _ZN5swift9SILClonerINS_13GenericClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Line | Count | Source | 929 | 617 | SILCloner<ImplClass>::visitAllocRefDynamicInst(AllocRefDynamicInst *Inst) { | 930 | 617 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 931 | 617 | auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst-> | 932 | 617 | getTailAllocatedCounts())); | 933 | 617 | SmallVector<SILType, 4> ElemTypes; | 934 | 617 | for (SILType OrigElemType : Inst->getTailAllocatedTypes()) { | 935 | 617 | ElemTypes.push_back(getOpType(OrigElemType)); | 936 | 617 | } | 937 | 617 | auto *NewInst = getBuilder().createAllocRefDynamic( | 938 | 617 | getOpLocation(Inst->getLoc()), | 939 | 617 | getOpValue(Inst->getMetatypeOperand()), | 940 | 617 | getOpType(Inst->getType()), | 941 | 617 | Inst->isObjC(), | 942 | 617 | Inst->canAllocOnStack(), | 943 | 617 | ElemTypes, CountArgs); | 944 | 617 | recordClonedInstruction(Inst, NewInst); | 945 | 617 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE Line | Count | Source | 929 | 96 | SILCloner<ImplClass>::visitAllocRefDynamicInst(AllocRefDynamicInst *Inst) { | 930 | 96 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 931 | 96 | auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst-> | 932 | 96 | getTailAllocatedCounts())); | 933 | 96 | SmallVector<SILType, 4> ElemTypes; | 934 | 96 | for (SILType OrigElemType : Inst->getTailAllocatedTypes()) { | 935 | 71 | ElemTypes.push_back(getOpType(OrigElemType)); | 936 | 71 | } | 937 | 96 | auto *NewInst = getBuilder().createAllocRefDynamic( | 938 | 96 | getOpLocation(Inst->getLoc()), | 939 | 96 | getOpValue(Inst->getMetatypeOperand()), | 940 | 96 | getOpType(Inst->getType()), | 941 | 96 | Inst->isObjC(), | 942 | 96 | Inst->canAllocOnStack(), | 943 | 96 | ElemTypes, CountArgs); | 944 | 96 | recordClonedInstruction(Inst, NewInst); | 945 | 96 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE |
946 | | |
947 | | template<typename ImplClass> |
948 | | void |
949 | 54 | SILCloner<ImplClass>::visitAllocBoxInst(AllocBoxInst *Inst) { |
950 | 54 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
951 | | // Drop the debug info from mandatory-inlined instructions. |
952 | 54 | SILLocation Loc = getOpLocation(Inst->getLoc()); |
953 | 54 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); |
954 | 54 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { |
955 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); |
956 | 0 | VarInfo = llvm::None; |
957 | 0 | } |
958 | | |
959 | 54 | recordClonedInstruction( |
960 | 54 | Inst, |
961 | 54 | getBuilder().createAllocBox( |
962 | 54 | Loc, this->getOpType(Inst->getType()).template castTo<SILBoxType>(), |
963 | 54 | VarInfo, /*hasDynamicLifetime*/ false, |
964 | 54 | /*reflection*/ false, |
965 | 54 | /*usesMoveableValueDebugInfo*/ false, /*skipVarDeclAssert*/ true |
966 | 54 | )); |
967 | 54 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Line | Count | Source | 949 | 8 | SILCloner<ImplClass>::visitAllocBoxInst(AllocBoxInst *Inst) { | 950 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 951 | | // Drop the debug info from mandatory-inlined instructions. | 952 | 8 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 953 | 8 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 954 | 8 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 955 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 956 | 0 | VarInfo = llvm::None; | 957 | 0 | } | 958 | | | 959 | 8 | recordClonedInstruction( | 960 | 8 | Inst, | 961 | 8 | getBuilder().createAllocBox( | 962 | 8 | Loc, this->getOpType(Inst->getType()).template castTo<SILBoxType>(), | 963 | 8 | VarInfo, /*hasDynamicLifetime*/ false, | 964 | 8 | /*reflection*/ false, | 965 | 8 | /*usesMoveableValueDebugInfo*/ false, /*skipVarDeclAssert*/ true | 966 | 8 | )); | 967 | 8 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Line | Count | Source | 949 | 10 | SILCloner<ImplClass>::visitAllocBoxInst(AllocBoxInst *Inst) { | 950 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 951 | | // Drop the debug info from mandatory-inlined instructions. | 952 | 10 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 953 | 10 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 954 | 10 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 955 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 956 | 0 | VarInfo = llvm::None; | 957 | 0 | } | 958 | | | 959 | 10 | recordClonedInstruction( | 960 | 10 | Inst, | 961 | 10 | getBuilder().createAllocBox( | 962 | 10 | Loc, this->getOpType(Inst->getType()).template castTo<SILBoxType>(), | 963 | 10 | VarInfo, /*hasDynamicLifetime*/ false, | 964 | 10 | /*reflection*/ false, | 965 | 10 | /*usesMoveableValueDebugInfo*/ false, /*skipVarDeclAssert*/ true | 966 | 10 | )); | 967 | 10 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitAllocBoxInstEPNS_12AllocBoxInstE _ZN5swift9SILClonerINS_13GenericClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Line | Count | Source | 949 | 18 | SILCloner<ImplClass>::visitAllocBoxInst(AllocBoxInst *Inst) { | 950 | 18 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 951 | | // Drop the debug info from mandatory-inlined instructions. | 952 | 18 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 953 | 18 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 954 | 18 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 955 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 956 | 0 | VarInfo = llvm::None; | 957 | 0 | } | 958 | | | 959 | 18 | recordClonedInstruction( | 960 | 18 | Inst, | 961 | 18 | getBuilder().createAllocBox( | 962 | 18 | Loc, this->getOpType(Inst->getType()).template castTo<SILBoxType>(), | 963 | 18 | VarInfo, /*hasDynamicLifetime*/ false, | 964 | 18 | /*reflection*/ false, | 965 | 18 | /*usesMoveableValueDebugInfo*/ false, /*skipVarDeclAssert*/ true | 966 | 18 | )); | 967 | 18 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE Line | Count | Source | 949 | 18 | SILCloner<ImplClass>::visitAllocBoxInst(AllocBoxInst *Inst) { | 950 | 18 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 951 | | // Drop the debug info from mandatory-inlined instructions. | 952 | 18 | SILLocation Loc = getOpLocation(Inst->getLoc()); | 953 | 18 | llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo(); | 954 | 18 | if (Loc.getKind() == SILLocation::MandatoryInlinedKind) { | 955 | 0 | Loc = MandatoryInlinedLocation::getAutoGeneratedLocation(); | 956 | 0 | VarInfo = llvm::None; | 957 | 0 | } | 958 | | | 959 | 18 | recordClonedInstruction( | 960 | 18 | Inst, | 961 | 18 | getBuilder().createAllocBox( | 962 | 18 | Loc, this->getOpType(Inst->getType()).template castTo<SILBoxType>(), | 963 | 18 | VarInfo, /*hasDynamicLifetime*/ false, | 964 | 18 | /*reflection*/ false, | 965 | 18 | /*usesMoveableValueDebugInfo*/ false, /*skipVarDeclAssert*/ true | 966 | 18 | )); | 967 | 18 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE |
968 | | |
969 | | template<typename ImplClass> |
970 | | void |
971 | | SILCloner<ImplClass>::visitAllocExistentialBoxInst( |
972 | 28 | AllocExistentialBoxInst *Inst) { |
973 | 28 | auto origExistentialType = Inst->getExistentialType(); |
974 | 28 | auto origFormalType = Inst->getFormalConcreteType(); |
975 | | |
976 | 28 | auto conformances = getOpConformances(origFormalType, |
977 | 28 | Inst->getConformances()); |
978 | | |
979 | 28 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
980 | 28 | recordClonedInstruction( |
981 | 28 | Inst, getBuilder().createAllocExistentialBox( |
982 | 28 | getOpLocation(Inst->getLoc()), getOpType(origExistentialType), |
983 | 28 | getOpASTType(origFormalType), conformances)); |
984 | 28 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Line | Count | Source | 972 | 1 | AllocExistentialBoxInst *Inst) { | 973 | 1 | auto origExistentialType = Inst->getExistentialType(); | 974 | 1 | auto origFormalType = Inst->getFormalConcreteType(); | 975 | | | 976 | 1 | auto conformances = getOpConformances(origFormalType, | 977 | 1 | Inst->getConformances()); | 978 | | | 979 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 980 | 1 | recordClonedInstruction( | 981 | 1 | Inst, getBuilder().createAllocExistentialBox( | 982 | 1 | getOpLocation(Inst->getLoc()), getOpType(origExistentialType), | 983 | 1 | getOpASTType(origFormalType), conformances)); | 984 | 1 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE _ZN5swift9SILClonerINS_13GenericClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Line | Count | Source | 972 | 10 | AllocExistentialBoxInst *Inst) { | 973 | 10 | auto origExistentialType = Inst->getExistentialType(); | 974 | 10 | auto origFormalType = Inst->getFormalConcreteType(); | 975 | | | 976 | 10 | auto conformances = getOpConformances(origFormalType, | 977 | 10 | Inst->getConformances()); | 978 | | | 979 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 980 | 10 | recordClonedInstruction( | 981 | 10 | Inst, getBuilder().createAllocExistentialBox( | 982 | 10 | getOpLocation(Inst->getLoc()), getOpType(origExistentialType), | 983 | 10 | getOpASTType(origFormalType), conformances)); | 984 | 10 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE Line | Count | Source | 972 | 17 | AllocExistentialBoxInst *Inst) { | 973 | 17 | auto origExistentialType = Inst->getExistentialType(); | 974 | 17 | auto origFormalType = Inst->getFormalConcreteType(); | 975 | | | 976 | 17 | auto conformances = getOpConformances(origFormalType, | 977 | 17 | Inst->getConformances()); | 978 | | | 979 | 17 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 980 | 17 | recordClonedInstruction( | 981 | 17 | Inst, getBuilder().createAllocExistentialBox( | 982 | 17 | getOpLocation(Inst->getLoc()), getOpType(origExistentialType), | 983 | 17 | getOpASTType(origFormalType), conformances)); | 984 | 17 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE |
985 | | |
986 | | template<typename ImplClass> |
987 | | void |
988 | 1.38M | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { |
989 | 1.38M | auto Args = getOpValueArray<8>(Inst->getArguments()); |
990 | 1.38M | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
991 | 1.38M | recordClonedInstruction( |
992 | 1.38M | Inst, getBuilder().createBuiltin( |
993 | 1.38M | getOpLocation(Inst->getLoc()), Inst->getName(), |
994 | 1.38M | getOpType(Inst->getType()), |
995 | 1.38M | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); |
996 | 1.38M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE16visitBuiltinInstEPNS_11BuiltinInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE16visitBuiltinInstEPNS_11BuiltinInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 1.20k | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 1.20k | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 1.20k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 1.20k | recordClonedInstruction( | 992 | 1.20k | Inst, getBuilder().createBuiltin( | 993 | 1.20k | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 1.20k | getOpType(Inst->getType()), | 995 | 1.20k | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 1.20k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 7.52k | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 7.52k | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 7.52k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 7.52k | recordClonedInstruction( | 992 | 7.52k | Inst, getBuilder().createBuiltin( | 993 | 7.52k | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 7.52k | getOpType(Inst->getType()), | 995 | 7.52k | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 7.52k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 95 | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 95 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 95 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 95 | recordClonedInstruction( | 992 | 95 | Inst, getBuilder().createBuiltin( | 993 | 95 | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 95 | getOpType(Inst->getType()), | 995 | 95 | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 95 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 12.9k | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 12.9k | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 12.9k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 12.9k | recordClonedInstruction( | 992 | 12.9k | Inst, getBuilder().createBuiltin( | 993 | 12.9k | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 12.9k | getOpType(Inst->getType()), | 995 | 12.9k | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 12.9k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 5 | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 5 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 5 | recordClonedInstruction( | 992 | 5 | Inst, getBuilder().createBuiltin( | 993 | 5 | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 5 | getOpType(Inst->getType()), | 995 | 5 | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 5 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE16visitBuiltinInstEPNS_11BuiltinInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 48 | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 48 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 48 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 48 | recordClonedInstruction( | 992 | 48 | Inst, getBuilder().createBuiltin( | 993 | 48 | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 48 | getOpType(Inst->getType()), | 995 | 48 | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 48 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 20.8k | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 20.8k | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 20.8k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 20.8k | recordClonedInstruction( | 992 | 20.8k | Inst, getBuilder().createBuiltin( | 993 | 20.8k | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 20.8k | getOpType(Inst->getType()), | 995 | 20.8k | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 20.8k | } |
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE16visitBuiltinInstEPNS_11BuiltinInstE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 579 | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 579 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 579 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 579 | recordClonedInstruction( | 992 | 579 | Inst, getBuilder().createBuiltin( | 993 | 579 | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 579 | getOpType(Inst->getType()), | 995 | 579 | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 579 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 12 | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 12 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 12 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 12 | recordClonedInstruction( | 992 | 12 | Inst, getBuilder().createBuiltin( | 993 | 12 | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 12 | getOpType(Inst->getType()), | 995 | 12 | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 12 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE16visitBuiltinInstEPNS_11BuiltinInstE _ZN5swift9SILClonerINS_13GenericClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 271k | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 271k | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 271k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 271k | recordClonedInstruction( | 992 | 271k | Inst, getBuilder().createBuiltin( | 993 | 271k | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 271k | getOpType(Inst->getType()), | 995 | 271k | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 271k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 1.06M | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 1.06M | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 1.06M | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 1.06M | recordClonedInstruction( | 992 | 1.06M | Inst, getBuilder().createBuiltin( | 993 | 1.06M | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 1.06M | getOpType(Inst->getType()), | 995 | 1.06M | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 1.06M | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE16visitBuiltinInstEPNS_11BuiltinInstE Line | Count | Source | 988 | 2.53k | SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) { | 989 | 2.53k | auto Args = getOpValueArray<8>(Inst->getArguments()); | 990 | 2.53k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 991 | 2.53k | recordClonedInstruction( | 992 | 2.53k | Inst, getBuilder().createBuiltin( | 993 | 2.53k | getOpLocation(Inst->getLoc()), Inst->getName(), | 994 | 2.53k | getOpType(Inst->getType()), | 995 | 2.53k | getOpSubstitutionMap(Inst->getSubstitutions()), Args)); | 996 | 2.53k | } |
|
997 | | |
998 | | template<typename ImplClass> |
999 | | void |
1000 | 4.83k | SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) { |
1001 | 4.83k | auto Args = getOpValueArray<8>(Inst->getArguments()); |
1002 | 4.83k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1003 | 4.83k | recordClonedInstruction( |
1004 | 4.83k | Inst, getBuilder().createApply( |
1005 | 4.83k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), |
1006 | 4.83k | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, |
1007 | 4.83k | Inst->getApplyOptions(), |
1008 | 4.83k | GenericSpecializationInformation::create(Inst, getBuilder()))); |
1009 | 4.83k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14visitApplyInstEPNS_9ApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14visitApplyInstEPNS_9ApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE14visitApplyInstEPNS_9ApplyInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14visitApplyInstEPNS_9ApplyInstE Line | Count | Source | 1000 | 3.71k | SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) { | 1001 | 3.71k | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1002 | 3.71k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1003 | 3.71k | recordClonedInstruction( | 1004 | 3.71k | Inst, getBuilder().createApply( | 1005 | 3.71k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1006 | 3.71k | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1007 | 3.71k | Inst->getApplyOptions(), | 1008 | 3.71k | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1009 | 3.71k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE14visitApplyInstEPNS_9ApplyInstE Line | Count | Source | 1000 | 41 | SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) { | 1001 | 41 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1002 | 41 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1003 | 41 | recordClonedInstruction( | 1004 | 41 | Inst, getBuilder().createApply( | 1005 | 41 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1006 | 41 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1007 | 41 | Inst->getApplyOptions(), | 1008 | 41 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1009 | 41 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14visitApplyInstEPNS_9ApplyInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14visitApplyInstEPNS_9ApplyInstE Line | Count | Source | 1000 | 106 | SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) { | 1001 | 106 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1002 | 106 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1003 | 106 | recordClonedInstruction( | 1004 | 106 | Inst, getBuilder().createApply( | 1005 | 106 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1006 | 106 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1007 | 106 | Inst->getApplyOptions(), | 1008 | 106 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1009 | 106 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14visitApplyInstEPNS_9ApplyInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14visitApplyInstEPNS_9ApplyInstE Line | Count | Source | 1000 | 44 | SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) { | 1001 | 44 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1002 | 44 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1003 | 44 | recordClonedInstruction( | 1004 | 44 | Inst, getBuilder().createApply( | 1005 | 44 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1006 | 44 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1007 | 44 | Inst->getApplyOptions(), | 1008 | 44 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1009 | 44 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14visitApplyInstEPNS_9ApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14visitApplyInstEPNS_9ApplyInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14visitApplyInstEPNS_9ApplyInstE Line | Count | Source | 1000 | 139 | SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) { | 1001 | 139 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1002 | 139 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1003 | 139 | recordClonedInstruction( | 1004 | 139 | Inst, getBuilder().createApply( | 1005 | 139 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1006 | 139 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1007 | 139 | Inst->getApplyOptions(), | 1008 | 139 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1009 | 139 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE14visitApplyInstEPNS_9ApplyInstE Line | Count | Source | 1000 | 486 | SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) { | 1001 | 486 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1002 | 486 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1003 | 486 | recordClonedInstruction( | 1004 | 486 | Inst, getBuilder().createApply( | 1005 | 486 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1006 | 486 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1007 | 486 | Inst->getApplyOptions(), | 1008 | 486 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1009 | 486 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14visitApplyInstEPNS_9ApplyInstE SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE14visitApplyInstEPNS_9ApplyInstE Line | Count | Source | 1000 | 300 | SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) { | 1001 | 300 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1002 | 300 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1003 | 300 | recordClonedInstruction( | 1004 | 300 | Inst, getBuilder().createApply( | 1005 | 300 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1006 | 300 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1007 | 300 | Inst->getApplyOptions(), | 1008 | 300 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1009 | 300 | } |
|
1010 | | |
1011 | | template<typename ImplClass> |
1012 | | void |
1013 | 302 | SILCloner<ImplClass>::visitTryApplyInst(TryApplyInst *Inst) { |
1014 | 302 | auto Args = getOpValueArray<8>(Inst->getArguments()); |
1015 | 302 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1016 | 302 | recordClonedInstruction( |
1017 | 302 | Inst, getBuilder().createTryApply( |
1018 | 302 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), |
1019 | 302 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, |
1020 | 302 | getOpBasicBlock(Inst->getNormalBB()), |
1021 | 302 | getOpBasicBlock(Inst->getErrorBB()), |
1022 | 302 | Inst->getApplyOptions(), |
1023 | 302 | GenericSpecializationInformation::create(Inst, getBuilder()))); |
1024 | 302 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitTryApplyInstEPNS_12TryApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitTryApplyInstEPNS_12TryApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitTryApplyInstEPNS_12TryApplyInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitTryApplyInstEPNS_12TryApplyInstE Line | Count | Source | 1013 | 293 | SILCloner<ImplClass>::visitTryApplyInst(TryApplyInst *Inst) { | 1014 | 293 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1015 | 293 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1016 | 293 | recordClonedInstruction( | 1017 | 293 | Inst, getBuilder().createTryApply( | 1018 | 293 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1019 | 293 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1020 | 293 | getOpBasicBlock(Inst->getNormalBB()), | 1021 | 293 | getOpBasicBlock(Inst->getErrorBB()), | 1022 | 293 | Inst->getApplyOptions(), | 1023 | 293 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1024 | 293 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitTryApplyInstEPNS_12TryApplyInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitTryApplyInstEPNS_12TryApplyInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitTryApplyInstEPNS_12TryApplyInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitTryApplyInstEPNS_12TryApplyInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitTryApplyInstEPNS_12TryApplyInstE Line | Count | Source | 1013 | 4 | SILCloner<ImplClass>::visitTryApplyInst(TryApplyInst *Inst) { | 1014 | 4 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1015 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1016 | 4 | recordClonedInstruction( | 1017 | 4 | Inst, getBuilder().createTryApply( | 1018 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1019 | 4 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1020 | 4 | getOpBasicBlock(Inst->getNormalBB()), | 1021 | 4 | getOpBasicBlock(Inst->getErrorBB()), | 1022 | 4 | Inst->getApplyOptions(), | 1023 | 4 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1024 | 4 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitTryApplyInstEPNS_12TryApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitTryApplyInstEPNS_12TryApplyInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitTryApplyInstEPNS_12TryApplyInstE Line | Count | Source | 1013 | 5 | SILCloner<ImplClass>::visitTryApplyInst(TryApplyInst *Inst) { | 1014 | 5 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1015 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1016 | 5 | recordClonedInstruction( | 1017 | 5 | Inst, getBuilder().createTryApply( | 1018 | 5 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1019 | 5 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1020 | 5 | getOpBasicBlock(Inst->getNormalBB()), | 1021 | 5 | getOpBasicBlock(Inst->getErrorBB()), | 1022 | 5 | Inst->getApplyOptions(), | 1023 | 5 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1024 | 5 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitTryApplyInstEPNS_12TryApplyInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitTryApplyInstEPNS_12TryApplyInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitTryApplyInstEPNS_12TryApplyInstE |
1025 | | |
1026 | | template<typename ImplClass> |
1027 | | void |
1028 | 38 | SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) { |
1029 | 38 | auto Args = getOpValueArray<8>(Inst->getArguments()); |
1030 | 38 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1031 | 38 | recordClonedInstruction( |
1032 | 38 | Inst, getBuilder().createPartialApply( |
1033 | 38 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), |
1034 | 38 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, |
1035 | 38 | Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(), |
1036 | 38 | Inst->isOnStack(), |
1037 | 38 | GenericSpecializationInformation::create(Inst, getBuilder()))); |
1038 | 38 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE Line | Count | Source | 1028 | 1 | SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) { | 1029 | 1 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1030 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1031 | 1 | recordClonedInstruction( | 1032 | 1 | Inst, getBuilder().createPartialApply( | 1033 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1034 | 1 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1035 | 1 | Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(), | 1036 | 1 | Inst->isOnStack(), | 1037 | 1 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1038 | 1 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE Line | Count | Source | 1028 | 5 | SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) { | 1029 | 5 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1030 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1031 | 5 | recordClonedInstruction( | 1032 | 5 | Inst, getBuilder().createPartialApply( | 1033 | 5 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1034 | 5 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1035 | 5 | Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(), | 1036 | 5 | Inst->isOnStack(), | 1037 | 5 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1038 | 5 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitPartialApplyInstEPNS_16PartialApplyInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE Line | Count | Source | 1028 | 18 | SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) { | 1029 | 18 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1030 | 18 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1031 | 18 | recordClonedInstruction( | 1032 | 18 | Inst, getBuilder().createPartialApply( | 1033 | 18 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1034 | 18 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1035 | 18 | Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(), | 1036 | 18 | Inst->isOnStack(), | 1037 | 18 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1038 | 18 | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE Line | Count | Source | 1028 | 10 | SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) { | 1029 | 10 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1030 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1031 | 10 | recordClonedInstruction( | 1032 | 10 | Inst, getBuilder().createPartialApply( | 1033 | 10 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1034 | 10 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1035 | 10 | Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(), | 1036 | 10 | Inst->isOnStack(), | 1037 | 10 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1038 | 10 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitPartialApplyInstEPNS_16PartialApplyInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE Line | Count | Source | 1028 | 4 | SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) { | 1029 | 4 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1030 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1031 | 4 | recordClonedInstruction( | 1032 | 4 | Inst, getBuilder().createPartialApply( | 1033 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1034 | 4 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1035 | 4 | Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(), | 1036 | 4 | Inst->isOnStack(), | 1037 | 4 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1038 | 4 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitPartialApplyInstEPNS_16PartialApplyInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE |
1039 | | |
1040 | | template<typename ImplClass> |
1041 | | void |
1042 | 1.74k | SILCloner<ImplClass>::visitBeginApplyInst(BeginApplyInst *Inst) { |
1043 | 1.74k | auto Args = getOpValueArray<8>(Inst->getArguments()); |
1044 | 1.74k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1045 | 1.74k | recordClonedInstruction( |
1046 | 1.74k | Inst, getBuilder().createBeginApply( |
1047 | 1.74k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), |
1048 | 1.74k | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, |
1049 | 1.74k | Inst->getApplyOptions(), |
1050 | 1.74k | GenericSpecializationInformation::create(Inst, getBuilder()))); |
1051 | 1.74k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitBeginApplyInstEPNS_14BeginApplyInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitBeginApplyInstEPNS_14BeginApplyInstE Line | Count | Source | 1042 | 15 | SILCloner<ImplClass>::visitBeginApplyInst(BeginApplyInst *Inst) { | 1043 | 15 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1044 | 15 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1045 | 15 | recordClonedInstruction( | 1046 | 15 | Inst, getBuilder().createBeginApply( | 1047 | 15 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1048 | 15 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1049 | 15 | Inst->getApplyOptions(), | 1050 | 15 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1051 | 15 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Line | Count | Source | 1042 | 4 | SILCloner<ImplClass>::visitBeginApplyInst(BeginApplyInst *Inst) { | 1043 | 4 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1044 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1045 | 4 | recordClonedInstruction( | 1046 | 4 | Inst, getBuilder().createBeginApply( | 1047 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1048 | 4 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1049 | 4 | Inst->getApplyOptions(), | 1050 | 4 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1051 | 4 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitBeginApplyInstEPNS_14BeginApplyInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Line | Count | Source | 1042 | 1.22k | SILCloner<ImplClass>::visitBeginApplyInst(BeginApplyInst *Inst) { | 1043 | 1.22k | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1044 | 1.22k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1045 | 1.22k | recordClonedInstruction( | 1046 | 1.22k | Inst, getBuilder().createBeginApply( | 1047 | 1.22k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1048 | 1.22k | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1049 | 1.22k | Inst->getApplyOptions(), | 1050 | 1.22k | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1051 | 1.22k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE Line | Count | Source | 1042 | 500 | SILCloner<ImplClass>::visitBeginApplyInst(BeginApplyInst *Inst) { | 1043 | 500 | auto Args = getOpValueArray<8>(Inst->getArguments()); | 1044 | 500 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1045 | 500 | recordClonedInstruction( | 1046 | 500 | Inst, getBuilder().createBeginApply( | 1047 | 500 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()), | 1048 | 500 | getOpSubstitutionMap(Inst->getSubstitutionMap()), Args, | 1049 | 500 | Inst->getApplyOptions(), | 1050 | 500 | GenericSpecializationInformation::create(Inst, getBuilder()))); | 1051 | 500 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE |
1052 | | |
1053 | | template<typename ImplClass> |
1054 | | void |
1055 | 615 | SILCloner<ImplClass>::visitAbortApplyInst(AbortApplyInst *Inst) { |
1056 | 615 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1057 | 615 | recordClonedInstruction( |
1058 | 615 | Inst, getBuilder().createAbortApply(getOpLocation(Inst->getLoc()), |
1059 | 615 | getOpValue(Inst->getOperand()))); |
1060 | 615 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitAbortApplyInstEPNS_14AbortApplyInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Line | Count | Source | 1055 | 299 | SILCloner<ImplClass>::visitAbortApplyInst(AbortApplyInst *Inst) { | 1056 | 299 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1057 | 299 | recordClonedInstruction( | 1058 | 299 | Inst, getBuilder().createAbortApply(getOpLocation(Inst->getLoc()), | 1059 | 299 | getOpValue(Inst->getOperand()))); | 1060 | 299 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE Line | Count | Source | 1055 | 316 | SILCloner<ImplClass>::visitAbortApplyInst(AbortApplyInst *Inst) { | 1056 | 316 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1057 | 316 | recordClonedInstruction( | 1058 | 316 | Inst, getBuilder().createAbortApply(getOpLocation(Inst->getLoc()), | 1059 | 316 | getOpValue(Inst->getOperand()))); | 1060 | 316 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE |
1061 | | |
1062 | | template<typename ImplClass> |
1063 | | void |
1064 | 1.76k | SILCloner<ImplClass>::visitEndApplyInst(EndApplyInst *Inst) { |
1065 | 1.76k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1066 | 1.76k | recordClonedInstruction( |
1067 | 1.76k | Inst, getBuilder().createEndApply(getOpLocation(Inst->getLoc()), |
1068 | 1.76k | getOpValue(Inst->getOperand()))); |
1069 | 1.76k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitEndApplyInstEPNS_12EndApplyInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitEndApplyInstEPNS_12EndApplyInstE Line | Count | Source | 1064 | 15 | SILCloner<ImplClass>::visitEndApplyInst(EndApplyInst *Inst) { | 1065 | 15 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1066 | 15 | recordClonedInstruction( | 1067 | 15 | Inst, getBuilder().createEndApply(getOpLocation(Inst->getLoc()), | 1068 | 15 | getOpValue(Inst->getOperand()))); | 1069 | 15 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitEndApplyInstEPNS_12EndApplyInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Line | Count | Source | 1064 | 4 | SILCloner<ImplClass>::visitEndApplyInst(EndApplyInst *Inst) { | 1065 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1066 | 4 | recordClonedInstruction( | 1067 | 4 | Inst, getBuilder().createEndApply(getOpLocation(Inst->getLoc()), | 1068 | 4 | getOpValue(Inst->getOperand()))); | 1069 | 4 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitEndApplyInstEPNS_12EndApplyInstE _ZN5swift9SILClonerINS_13GenericClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Line | Count | Source | 1064 | 1.22k | SILCloner<ImplClass>::visitEndApplyInst(EndApplyInst *Inst) { | 1065 | 1.22k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1066 | 1.22k | recordClonedInstruction( | 1067 | 1.22k | Inst, getBuilder().createEndApply(getOpLocation(Inst->getLoc()), | 1068 | 1.22k | getOpValue(Inst->getOperand()))); | 1069 | 1.22k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitEndApplyInstEPNS_12EndApplyInstE Line | Count | Source | 1064 | 519 | SILCloner<ImplClass>::visitEndApplyInst(EndApplyInst *Inst) { | 1065 | 519 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1066 | 519 | recordClonedInstruction( | 1067 | 519 | Inst, getBuilder().createEndApply(getOpLocation(Inst->getLoc()), | 1068 | 519 | getOpValue(Inst->getOperand()))); | 1069 | 519 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitEndApplyInstEPNS_12EndApplyInstE |
1070 | | |
1071 | | template<typename ImplClass> |
1072 | | void |
1073 | 376k | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { |
1074 | 376k | SILFunction *OpFunction = |
1075 | 376k | getOpFunction(Inst->getReferencedFunction()); |
1076 | 376k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1077 | 376k | recordClonedInstruction(Inst, getBuilder().createFunctionRef( |
1078 | 376k | getOpLocation(Inst->getLoc()), OpFunction)); |
1079 | 376k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 1 | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 1 | SILFunction *OpFunction = | 1075 | 1 | getOpFunction(Inst->getReferencedFunction()); | 1076 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 1 | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 1 | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 521 | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 521 | SILFunction *OpFunction = | 1075 | 521 | getOpFunction(Inst->getReferencedFunction()); | 1076 | 521 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 521 | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 521 | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 521 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 2.35k | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 2.35k | SILFunction *OpFunction = | 1075 | 2.35k | getOpFunction(Inst->getReferencedFunction()); | 1076 | 2.35k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 2.35k | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 2.35k | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 2.35k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 1.78k | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 1.78k | SILFunction *OpFunction = | 1075 | 1.78k | getOpFunction(Inst->getReferencedFunction()); | 1076 | 1.78k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 1.78k | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 1.78k | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 1.78k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 3 | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 3 | SILFunction *OpFunction = | 1075 | 3 | getOpFunction(Inst->getReferencedFunction()); | 1076 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 3 | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 3 | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 3 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 218 | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 218 | SILFunction *OpFunction = | 1075 | 218 | getOpFunction(Inst->getReferencedFunction()); | 1076 | 218 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 218 | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 218 | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 218 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 2.96k | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 2.96k | SILFunction *OpFunction = | 1075 | 2.96k | getOpFunction(Inst->getReferencedFunction()); | 1076 | 2.96k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 2.96k | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 2.96k | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 2.96k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 39 | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 39 | SILFunction *OpFunction = | 1075 | 39 | getOpFunction(Inst->getReferencedFunction()); | 1076 | 39 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 39 | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 39 | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 39 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 36 | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 36 | SILFunction *OpFunction = | 1075 | 36 | getOpFunction(Inst->getReferencedFunction()); | 1076 | 36 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 36 | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 36 | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 36 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 58 | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 58 | SILFunction *OpFunction = | 1075 | 58 | getOpFunction(Inst->getReferencedFunction()); | 1076 | 58 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 58 | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 58 | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 58 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 92 | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 92 | SILFunction *OpFunction = | 1075 | 92 | getOpFunction(Inst->getReferencedFunction()); | 1076 | 92 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 92 | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 92 | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 92 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 142 | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 142 | SILFunction *OpFunction = | 1075 | 142 | getOpFunction(Inst->getReferencedFunction()); | 1076 | 142 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 142 | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 142 | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 142 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitFunctionRefInstEPNS_15FunctionRefInstE _ZN5swift9SILClonerINS_13GenericClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 94.3k | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 94.3k | SILFunction *OpFunction = | 1075 | 94.3k | getOpFunction(Inst->getReferencedFunction()); | 1076 | 94.3k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 94.3k | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 94.3k | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 94.3k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 274k | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 274k | SILFunction *OpFunction = | 1075 | 274k | getOpFunction(Inst->getReferencedFunction()); | 1076 | 274k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 274k | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 274k | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 274k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE Line | Count | Source | 1073 | 2 | SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) { | 1074 | 2 | SILFunction *OpFunction = | 1075 | 2 | getOpFunction(Inst->getReferencedFunction()); | 1076 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1077 | 2 | recordClonedInstruction(Inst, getBuilder().createFunctionRef( | 1078 | 2 | getOpLocation(Inst->getLoc()), OpFunction)); | 1079 | 2 | } |
|
1080 | | |
1081 | | template <typename ImplClass> |
1082 | | void SILCloner<ImplClass>::visitDynamicFunctionRefInst( |
1083 | 0 | DynamicFunctionRefInst *Inst) { |
1084 | 0 | SILFunction *OpFunction = |
1085 | 0 | getOpFunction(Inst->getInitiallyReferencedFunction()); |
1086 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1087 | 0 | recordClonedInstruction(Inst, getBuilder().createDynamicFunctionRef( |
1088 | 0 | getOpLocation(Inst->getLoc()), OpFunction)); |
1089 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE |
1090 | | |
1091 | | template <typename ImplClass> |
1092 | | void SILCloner<ImplClass>::visitPreviousDynamicFunctionRefInst( |
1093 | 0 | PreviousDynamicFunctionRefInst *Inst) { |
1094 | 0 | SILFunction *OpFunction = |
1095 | 0 | getOpFunction(Inst->getInitiallyReferencedFunction()); |
1096 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1097 | 0 | recordClonedInstruction(Inst, getBuilder().createPreviousDynamicFunctionRef( |
1098 | 0 | getOpLocation(Inst->getLoc()), OpFunction)); |
1099 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE |
1100 | | |
1101 | | template<typename ImplClass> |
1102 | | void |
1103 | 0 | SILCloner<ImplClass>::visitAllocGlobalInst(AllocGlobalInst *Inst) { |
1104 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1105 | 0 | recordClonedInstruction( |
1106 | 0 | Inst, getBuilder().createAllocGlobal(getOpLocation(Inst->getLoc()), |
1107 | 0 | Inst->getReferencedGlobal())); |
1108 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE |
1109 | | |
1110 | | template<typename ImplClass> |
1111 | | void |
1112 | 4.01k | SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) { |
1113 | 4.01k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1114 | 4.01k | recordClonedInstruction( |
1115 | 4.01k | Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()), |
1116 | 4.01k | Inst->getReferencedGlobal())); |
1117 | 4.01k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Line | Count | Source | 1112 | 1 | SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) { | 1113 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1114 | 1 | recordClonedInstruction( | 1115 | 1 | Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()), | 1116 | 1 | Inst->getReferencedGlobal())); | 1117 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Line | Count | Source | 1112 | 4 | SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) { | 1113 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1114 | 4 | recordClonedInstruction( | 1115 | 4 | Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()), | 1116 | 4 | Inst->getReferencedGlobal())); | 1117 | 4 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Line | Count | Source | 1112 | 1 | SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) { | 1113 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1114 | 1 | recordClonedInstruction( | 1115 | 1 | Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()), | 1116 | 1 | Inst->getReferencedGlobal())); | 1117 | 1 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Line | Count | Source | 1112 | 44 | SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) { | 1113 | 44 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1114 | 44 | recordClonedInstruction( | 1115 | 44 | Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()), | 1116 | 44 | Inst->getReferencedGlobal())); | 1117 | 44 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Line | Count | Source | 1112 | 1.12k | SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) { | 1113 | 1.12k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1114 | 1.12k | recordClonedInstruction( | 1115 | 1.12k | Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()), | 1116 | 1.12k | Inst->getReferencedGlobal())); | 1117 | 1.12k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE Line | Count | Source | 1112 | 2.84k | SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) { | 1113 | 2.84k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1114 | 2.84k | recordClonedInstruction( | 1115 | 2.84k | Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()), | 1116 | 2.84k | Inst->getReferencedGlobal())); | 1117 | 2.84k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE |
1118 | | |
1119 | | template<typename ImplClass> |
1120 | | void |
1121 | 12 | SILCloner<ImplClass>::visitGlobalValueInst(GlobalValueInst *Inst) { |
1122 | 12 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1123 | 12 | recordClonedInstruction( |
1124 | 12 | Inst, getBuilder().createGlobalValue(getOpLocation(Inst->getLoc()), |
1125 | 12 | Inst->getReferencedGlobal(), |
1126 | 12 | Inst->isBare())); |
1127 | 12 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitGlobalValueInstEPNS_15GlobalValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE Line | Count | Source | 1121 | 12 | SILCloner<ImplClass>::visitGlobalValueInst(GlobalValueInst *Inst) { | 1122 | 12 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1123 | 12 | recordClonedInstruction( | 1124 | 12 | Inst, getBuilder().createGlobalValue(getOpLocation(Inst->getLoc()), | 1125 | 12 | Inst->getReferencedGlobal(), | 1126 | 12 | Inst->isBare())); | 1127 | 12 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE |
1128 | | |
1129 | | template<typename ImplClass> |
1130 | | void |
1131 | 0 | SILCloner<ImplClass>::visitBaseAddrForOffsetInst(BaseAddrForOffsetInst *Inst) { |
1132 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1133 | 0 | recordClonedInstruction( |
1134 | 0 | Inst, getBuilder().createBaseAddrForOffset(getOpLocation(Inst->getLoc()), |
1135 | 0 | getOpType(Inst->getType()))); |
1136 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE |
1137 | | |
1138 | | template<typename ImplClass> |
1139 | | void |
1140 | 1.04M | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { |
1141 | 1.04M | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1142 | 1.04M | recordClonedInstruction( |
1143 | 1.04M | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), |
1144 | 1.04M | getOpType(Inst->getType()), |
1145 | 1.04M | Inst->getValue())); |
1146 | 1.04M | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 80 | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 80 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 80 | recordClonedInstruction( | 1143 | 80 | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 80 | getOpType(Inst->getType()), | 1145 | 80 | Inst->getValue())); | 1146 | 80 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 577 | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 577 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 577 | recordClonedInstruction( | 1143 | 577 | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 577 | getOpType(Inst->getType()), | 1145 | 577 | Inst->getValue())); | 1146 | 577 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 1.37k | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 1.37k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 1.37k | recordClonedInstruction( | 1143 | 1.37k | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 1.37k | getOpType(Inst->getType()), | 1145 | 1.37k | Inst->getValue())); | 1146 | 1.37k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 7.64k | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 7.64k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 7.64k | recordClonedInstruction( | 1143 | 7.64k | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 7.64k | getOpType(Inst->getType()), | 1145 | 7.64k | Inst->getValue())); | 1146 | 7.64k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 87 | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 87 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 87 | recordClonedInstruction( | 1143 | 87 | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 87 | getOpType(Inst->getType()), | 1145 | 87 | Inst->getValue())); | 1146 | 87 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 8.01k | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 8.01k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 8.01k | recordClonedInstruction( | 1143 | 8.01k | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 8.01k | getOpType(Inst->getType()), | 1145 | 8.01k | Inst->getValue())); | 1146 | 8.01k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 9 | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 9 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 9 | recordClonedInstruction( | 1143 | 9 | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 9 | getOpType(Inst->getType()), | 1145 | 9 | Inst->getValue())); | 1146 | 9 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 2 | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 2 | recordClonedInstruction( | 1143 | 2 | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 2 | getOpType(Inst->getType()), | 1145 | 2 | Inst->getValue())); | 1146 | 2 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 520 | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 520 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 520 | recordClonedInstruction( | 1143 | 520 | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 520 | getOpType(Inst->getType()), | 1145 | 520 | Inst->getValue())); | 1146 | 520 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 65 | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 65 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 65 | recordClonedInstruction( | 1143 | 65 | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 65 | getOpType(Inst->getType()), | 1145 | 65 | Inst->getValue())); | 1146 | 65 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE _ZN5swift9SILClonerINS_13GenericClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 252k | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 252k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 252k | recordClonedInstruction( | 1143 | 252k | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 252k | getOpType(Inst->getType()), | 1145 | 252k | Inst->getValue())); | 1146 | 252k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 770k | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 770k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 770k | recordClonedInstruction( | 1143 | 770k | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 770k | getOpType(Inst->getType()), | 1145 | 770k | Inst->getValue())); | 1146 | 770k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE Line | Count | Source | 1140 | 2.52k | SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) { | 1141 | 2.52k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1142 | 2.52k | recordClonedInstruction( | 1143 | 2.52k | Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()), | 1144 | 2.52k | getOpType(Inst->getType()), | 1145 | 2.52k | Inst->getValue())); | 1146 | 2.52k | } |
|
1147 | | |
1148 | | template<typename ImplClass> |
1149 | | void |
1150 | 237 | SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) { |
1151 | 237 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1152 | 237 | recordClonedInstruction( |
1153 | 237 | Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()), |
1154 | 237 | getOpType(Inst->getType()), |
1155 | 237 | Inst->getValue())); |
1156 | 237 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Line | Count | Source | 1150 | 5 | SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) { | 1151 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1152 | 5 | recordClonedInstruction( | 1153 | 5 | Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()), | 1154 | 5 | getOpType(Inst->getType()), | 1155 | 5 | Inst->getValue())); | 1156 | 5 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Line | Count | Source | 1150 | 17 | SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) { | 1151 | 17 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1152 | 17 | recordClonedInstruction( | 1153 | 17 | Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()), | 1154 | 17 | getOpType(Inst->getType()), | 1155 | 17 | Inst->getValue())); | 1156 | 17 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Line | Count | Source | 1150 | 1 | SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) { | 1151 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1152 | 1 | recordClonedInstruction( | 1153 | 1 | Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()), | 1154 | 1 | getOpType(Inst->getType()), | 1155 | 1 | Inst->getValue())); | 1156 | 1 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Line | Count | Source | 1150 | 4 | SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) { | 1151 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1152 | 4 | recordClonedInstruction( | 1153 | 4 | Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()), | 1154 | 4 | getOpType(Inst->getType()), | 1155 | 4 | Inst->getValue())); | 1156 | 4 | } |
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE _ZN5swift9SILClonerINS_13GenericClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Line | Count | Source | 1150 | 6 | SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) { | 1151 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1152 | 6 | recordClonedInstruction( | 1153 | 6 | Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()), | 1154 | 6 | getOpType(Inst->getType()), | 1155 | 6 | Inst->getValue())); | 1156 | 6 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE Line | Count | Source | 1150 | 204 | SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) { | 1151 | 204 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1152 | 204 | recordClonedInstruction( | 1153 | 204 | Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()), | 1154 | 204 | getOpType(Inst->getType()), | 1155 | 204 | Inst->getValue())); | 1156 | 204 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE |
1157 | | |
1158 | | template<typename ImplClass> |
1159 | | void |
1160 | 290k | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { |
1161 | 290k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1162 | 290k | recordClonedInstruction(Inst, getBuilder().createStringLiteral( |
1163 | 290k | getOpLocation(Inst->getLoc()), |
1164 | 290k | Inst->getValue(), Inst->getEncoding())); |
1165 | 290k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitStringLiteralInstEPNS_17StringLiteralInstE Line | Count | Source | 1160 | 1 | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { | 1161 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1162 | 1 | recordClonedInstruction(Inst, getBuilder().createStringLiteral( | 1163 | 1 | getOpLocation(Inst->getLoc()), | 1164 | 1 | Inst->getValue(), Inst->getEncoding())); | 1165 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitStringLiteralInstEPNS_17StringLiteralInstE Line | Count | Source | 1160 | 13 | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { | 1161 | 13 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1162 | 13 | recordClonedInstruction(Inst, getBuilder().createStringLiteral( | 1163 | 13 | getOpLocation(Inst->getLoc()), | 1164 | 13 | Inst->getValue(), Inst->getEncoding())); | 1165 | 13 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Line | Count | Source | 1160 | 378 | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { | 1161 | 378 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1162 | 378 | recordClonedInstruction(Inst, getBuilder().createStringLiteral( | 1163 | 378 | getOpLocation(Inst->getLoc()), | 1164 | 378 | Inst->getValue(), Inst->getEncoding())); | 1165 | 378 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Line | Count | Source | 1160 | 1.64k | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { | 1161 | 1.64k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1162 | 1.64k | recordClonedInstruction(Inst, getBuilder().createStringLiteral( | 1163 | 1.64k | getOpLocation(Inst->getLoc()), | 1164 | 1.64k | Inst->getValue(), Inst->getEncoding())); | 1165 | 1.64k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Line | Count | Source | 1160 | 24 | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { | 1161 | 24 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1162 | 24 | recordClonedInstruction(Inst, getBuilder().createStringLiteral( | 1163 | 24 | getOpLocation(Inst->getLoc()), | 1164 | 24 | Inst->getValue(), Inst->getEncoding())); | 1165 | 24 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Line | Count | Source | 1160 | 2.76k | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { | 1161 | 2.76k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1162 | 2.76k | recordClonedInstruction(Inst, getBuilder().createStringLiteral( | 1163 | 2.76k | getOpLocation(Inst->getLoc()), | 1164 | 2.76k | Inst->getValue(), Inst->getEncoding())); | 1165 | 2.76k | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitStringLiteralInstEPNS_17StringLiteralInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitStringLiteralInstEPNS_17StringLiteralInstE Line | Count | Source | 1160 | 373 | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { | 1161 | 373 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1162 | 373 | recordClonedInstruction(Inst, getBuilder().createStringLiteral( | 1163 | 373 | getOpLocation(Inst->getLoc()), | 1164 | 373 | Inst->getValue(), Inst->getEncoding())); | 1165 | 373 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Line | Count | Source | 1160 | 20 | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { | 1161 | 20 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1162 | 20 | recordClonedInstruction(Inst, getBuilder().createStringLiteral( | 1163 | 20 | getOpLocation(Inst->getLoc()), | 1164 | 20 | Inst->getValue(), Inst->getEncoding())); | 1165 | 20 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitStringLiteralInstEPNS_17StringLiteralInstE _ZN5swift9SILClonerINS_13GenericClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Line | Count | Source | 1160 | 82.1k | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { | 1161 | 82.1k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1162 | 82.1k | recordClonedInstruction(Inst, getBuilder().createStringLiteral( | 1163 | 82.1k | getOpLocation(Inst->getLoc()), | 1164 | 82.1k | Inst->getValue(), Inst->getEncoding())); | 1165 | 82.1k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE Line | Count | Source | 1160 | 202k | SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) { | 1161 | 202k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1162 | 202k | recordClonedInstruction(Inst, getBuilder().createStringLiteral( | 1163 | 202k | getOpLocation(Inst->getLoc()), | 1164 | 202k | Inst->getValue(), Inst->getEncoding())); | 1165 | 202k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE |
1166 | | |
1167 | | template <typename ImplClass> |
1168 | 123k | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { |
1169 | 123k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1170 | 123k | if (!getBuilder().hasOwnership()) { |
1171 | 62.8k | switch (Inst->getOwnershipQualifier()) { |
1172 | 95 | case LoadOwnershipQualifier::Copy: { |
1173 | 95 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), |
1174 | 95 | getOpValue(Inst->getOperand()), |
1175 | 95 | LoadOwnershipQualifier::Unqualified); |
1176 | | // This will emit a retain_value/strong_retain as appropriate. |
1177 | 95 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); |
1178 | 95 | return recordClonedInstruction(Inst, li); |
1179 | 0 | } |
1180 | 135 | case LoadOwnershipQualifier::Take: |
1181 | 6.17k | case LoadOwnershipQualifier::Trivial: |
1182 | 62.7k | case LoadOwnershipQualifier::Unqualified: |
1183 | 62.7k | break; |
1184 | 62.8k | } |
1185 | 62.7k | return recordClonedInstruction( |
1186 | 62.7k | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), |
1187 | 62.7k | getOpValue(Inst->getOperand()), |
1188 | 62.7k | LoadOwnershipQualifier::Unqualified)); |
1189 | 62.8k | } |
1190 | | |
1191 | 60.4k | return recordClonedInstruction( |
1192 | 60.4k | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), |
1193 | 60.4k | getOpValue(Inst->getOperand()), |
1194 | 60.4k | Inst->getOwnershipQualifier())); |
1195 | 123k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13visitLoadInstEPNS_8LoadInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13visitLoadInstEPNS_8LoadInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13visitLoadInstEPNS_8LoadInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 141 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 141 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 141 | if (!getBuilder().hasOwnership()) { | 1171 | 0 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 0 | case LoadOwnershipQualifier::Unqualified: | 1183 | 0 | break; | 1184 | 0 | } | 1185 | 0 | return recordClonedInstruction( | 1186 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 0 | getOpValue(Inst->getOperand()), | 1188 | 0 | LoadOwnershipQualifier::Unqualified)); | 1189 | 0 | } | 1190 | | | 1191 | 141 | return recordClonedInstruction( | 1192 | 141 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 141 | getOpValue(Inst->getOperand()), | 1194 | 141 | Inst->getOwnershipQualifier())); | 1195 | 141 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 716 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 716 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 716 | if (!getBuilder().hasOwnership()) { | 1171 | 0 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 0 | case LoadOwnershipQualifier::Unqualified: | 1183 | 0 | break; | 1184 | 0 | } | 1185 | 0 | return recordClonedInstruction( | 1186 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 0 | getOpValue(Inst->getOperand()), | 1188 | 0 | LoadOwnershipQualifier::Unqualified)); | 1189 | 0 | } | 1190 | | | 1191 | 716 | return recordClonedInstruction( | 1192 | 716 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 716 | getOpValue(Inst->getOperand()), | 1194 | 716 | Inst->getOwnershipQualifier())); | 1195 | 716 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 490 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 490 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 490 | if (!getBuilder().hasOwnership()) { | 1171 | 483 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 483 | case LoadOwnershipQualifier::Unqualified: | 1183 | 483 | break; | 1184 | 483 | } | 1185 | 483 | return recordClonedInstruction( | 1186 | 483 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 483 | getOpValue(Inst->getOperand()), | 1188 | 483 | LoadOwnershipQualifier::Unqualified)); | 1189 | 483 | } | 1190 | | | 1191 | 7 | return recordClonedInstruction( | 1192 | 7 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 7 | getOpValue(Inst->getOperand()), | 1194 | 7 | Inst->getOwnershipQualifier())); | 1195 | 490 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 358 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 358 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 358 | if (!getBuilder().hasOwnership()) { | 1171 | 349 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 349 | case LoadOwnershipQualifier::Unqualified: | 1183 | 349 | break; | 1184 | 349 | } | 1185 | 349 | return recordClonedInstruction( | 1186 | 349 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 349 | getOpValue(Inst->getOperand()), | 1188 | 349 | LoadOwnershipQualifier::Unqualified)); | 1189 | 349 | } | 1190 | | | 1191 | 9 | return recordClonedInstruction( | 1192 | 9 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 9 | getOpValue(Inst->getOperand()), | 1194 | 9 | Inst->getOwnershipQualifier())); | 1195 | 358 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 71 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 71 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 71 | if (!getBuilder().hasOwnership()) { | 1171 | 71 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 71 | case LoadOwnershipQualifier::Unqualified: | 1183 | 71 | break; | 1184 | 71 | } | 1185 | 71 | return recordClonedInstruction( | 1186 | 71 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 71 | getOpValue(Inst->getOperand()), | 1188 | 71 | LoadOwnershipQualifier::Unqualified)); | 1189 | 71 | } | 1190 | | | 1191 | 0 | return recordClonedInstruction( | 1192 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 0 | getOpValue(Inst->getOperand()), | 1194 | 0 | Inst->getOwnershipQualifier())); | 1195 | 71 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 1.82k | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 1.82k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 1.82k | if (!getBuilder().hasOwnership()) { | 1171 | 1.82k | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 1.82k | case LoadOwnershipQualifier::Unqualified: | 1183 | 1.82k | break; | 1184 | 1.82k | } | 1185 | 1.82k | return recordClonedInstruction( | 1186 | 1.82k | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 1.82k | getOpValue(Inst->getOperand()), | 1188 | 1.82k | LoadOwnershipQualifier::Unqualified)); | 1189 | 1.82k | } | 1190 | | | 1191 | 0 | return recordClonedInstruction( | 1192 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 0 | getOpValue(Inst->getOperand()), | 1194 | 0 | Inst->getOwnershipQualifier())); | 1195 | 1.82k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 4 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 4 | if (!getBuilder().hasOwnership()) { | 1171 | 4 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 4 | case LoadOwnershipQualifier::Unqualified: | 1183 | 4 | break; | 1184 | 4 | } | 1185 | 4 | return recordClonedInstruction( | 1186 | 4 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 4 | getOpValue(Inst->getOperand()), | 1188 | 4 | LoadOwnershipQualifier::Unqualified)); | 1189 | 4 | } | 1190 | | | 1191 | 0 | return recordClonedInstruction( | 1192 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 0 | getOpValue(Inst->getOperand()), | 1194 | 0 | Inst->getOwnershipQualifier())); | 1195 | 4 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13visitLoadInstEPNS_8LoadInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 20 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 20 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 20 | if (!getBuilder().hasOwnership()) { | 1171 | 20 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 20 | case LoadOwnershipQualifier::Unqualified: | 1183 | 20 | break; | 1184 | 20 | } | 1185 | 20 | return recordClonedInstruction( | 1186 | 20 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 20 | getOpValue(Inst->getOperand()), | 1188 | 20 | LoadOwnershipQualifier::Unqualified)); | 1189 | 20 | } | 1190 | | | 1191 | 0 | return recordClonedInstruction( | 1192 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 0 | getOpValue(Inst->getOperand()), | 1194 | 0 | Inst->getOwnershipQualifier())); | 1195 | 20 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 2.59k | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 2.59k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 2.59k | if (!getBuilder().hasOwnership()) { | 1171 | 2.59k | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 2.59k | case LoadOwnershipQualifier::Unqualified: | 1183 | 2.59k | break; | 1184 | 2.59k | } | 1185 | 2.59k | return recordClonedInstruction( | 1186 | 2.59k | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 2.59k | getOpValue(Inst->getOperand()), | 1188 | 2.59k | LoadOwnershipQualifier::Unqualified)); | 1189 | 2.59k | } | 1190 | | | 1191 | 0 | return recordClonedInstruction( | 1192 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 0 | getOpValue(Inst->getOperand()), | 1194 | 0 | Inst->getOwnershipQualifier())); | 1195 | 2.59k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 12 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 12 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 12 | if (!getBuilder().hasOwnership()) { | 1171 | 0 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 0 | case LoadOwnershipQualifier::Unqualified: | 1183 | 0 | break; | 1184 | 0 | } | 1185 | 0 | return recordClonedInstruction( | 1186 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 0 | getOpValue(Inst->getOperand()), | 1188 | 0 | LoadOwnershipQualifier::Unqualified)); | 1189 | 0 | } | 1190 | | | 1191 | 12 | return recordClonedInstruction( | 1192 | 12 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 12 | getOpValue(Inst->getOperand()), | 1194 | 12 | Inst->getOwnershipQualifier())); | 1195 | 12 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13visitLoadInstEPNS_8LoadInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE13visitLoadInstEPNS_8LoadInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 30 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 30 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 30 | if (!getBuilder().hasOwnership()) { | 1171 | 0 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 0 | case LoadOwnershipQualifier::Unqualified: | 1183 | 0 | break; | 1184 | 0 | } | 1185 | 0 | return recordClonedInstruction( | 1186 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 0 | getOpValue(Inst->getOperand()), | 1188 | 0 | LoadOwnershipQualifier::Unqualified)); | 1189 | 0 | } | 1190 | | | 1191 | 30 | return recordClonedInstruction( | 1192 | 30 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 30 | getOpValue(Inst->getOperand()), | 1194 | 30 | Inst->getOwnershipQualifier())); | 1195 | 30 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 1 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 1 | if (!getBuilder().hasOwnership()) { | 1171 | 1 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 1 | case LoadOwnershipQualifier::Unqualified: | 1183 | 1 | break; | 1184 | 1 | } | 1185 | 1 | return recordClonedInstruction( | 1186 | 1 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 1 | getOpValue(Inst->getOperand()), | 1188 | 1 | LoadOwnershipQualifier::Unqualified)); | 1189 | 1 | } | 1190 | | | 1191 | 0 | return recordClonedInstruction( | 1192 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 0 | getOpValue(Inst->getOperand()), | 1194 | 0 | Inst->getOwnershipQualifier())); | 1195 | 1 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13visitLoadInstEPNS_8LoadInstE _ZN5swift9SILClonerINS_13GenericClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 23.9k | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 23.9k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 23.9k | if (!getBuilder().hasOwnership()) { | 1171 | 10.0k | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 10.0k | case LoadOwnershipQualifier::Unqualified: | 1183 | 10.0k | break; | 1184 | 10.0k | } | 1185 | 10.0k | return recordClonedInstruction( | 1186 | 10.0k | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 10.0k | getOpValue(Inst->getOperand()), | 1188 | 10.0k | LoadOwnershipQualifier::Unqualified)); | 1189 | 10.0k | } | 1190 | | | 1191 | 13.8k | return recordClonedInstruction( | 1192 | 13.8k | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 13.8k | getOpValue(Inst->getOperand()), | 1194 | 13.8k | Inst->getOwnershipQualifier())); | 1195 | 23.9k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 92.7k | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 92.7k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 92.7k | if (!getBuilder().hasOwnership()) { | 1171 | 47.2k | switch (Inst->getOwnershipQualifier()) { | 1172 | 95 | case LoadOwnershipQualifier::Copy: { | 1173 | 95 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 95 | getOpValue(Inst->getOperand()), | 1175 | 95 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 95 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 95 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 135 | case LoadOwnershipQualifier::Take: | 1181 | 6.17k | case LoadOwnershipQualifier::Trivial: | 1182 | 47.1k | case LoadOwnershipQualifier::Unqualified: | 1183 | 47.1k | break; | 1184 | 47.2k | } | 1185 | 47.1k | return recordClonedInstruction( | 1186 | 47.1k | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 47.1k | getOpValue(Inst->getOperand()), | 1188 | 47.1k | LoadOwnershipQualifier::Unqualified)); | 1189 | 47.2k | } | 1190 | | | 1191 | 45.5k | return recordClonedInstruction( | 1192 | 45.5k | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 45.5k | getOpValue(Inst->getOperand()), | 1194 | 45.5k | Inst->getOwnershipQualifier())); | 1195 | 92.7k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13visitLoadInstEPNS_8LoadInstE Line | Count | Source | 1168 | 406 | void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) { | 1169 | 406 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1170 | 406 | if (!getBuilder().hasOwnership()) { | 1171 | 206 | switch (Inst->getOwnershipQualifier()) { | 1172 | 0 | case LoadOwnershipQualifier::Copy: { | 1173 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1174 | 0 | getOpValue(Inst->getOperand()), | 1175 | 0 | LoadOwnershipQualifier::Unqualified); | 1176 | | // This will emit a retain_value/strong_retain as appropriate. | 1177 | 0 | getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li); | 1178 | 0 | return recordClonedInstruction(Inst, li); | 1179 | 0 | } | 1180 | 0 | case LoadOwnershipQualifier::Take: | 1181 | 0 | case LoadOwnershipQualifier::Trivial: | 1182 | 206 | case LoadOwnershipQualifier::Unqualified: | 1183 | 206 | break; | 1184 | 206 | } | 1185 | 206 | return recordClonedInstruction( | 1186 | 206 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1187 | 206 | getOpValue(Inst->getOperand()), | 1188 | 206 | LoadOwnershipQualifier::Unqualified)); | 1189 | 206 | } | 1190 | | | 1191 | 200 | return recordClonedInstruction( | 1192 | 200 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1193 | 200 | getOpValue(Inst->getOperand()), | 1194 | 200 | Inst->getOwnershipQualifier())); | 1195 | 406 | } |
|
1196 | | |
1197 | | template <typename ImplClass> |
1198 | 11.7k | void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) { |
1199 | 11.7k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1200 | | // If we are not inlining into an ownership function, just use a load. |
1201 | 11.7k | if (!getBuilder().hasOwnership()) { |
1202 | 773 | return recordClonedInstruction( |
1203 | 773 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), |
1204 | 773 | getOpValue(Inst->getOperand()), |
1205 | 773 | LoadOwnershipQualifier::Unqualified)); |
1206 | 773 | } |
1207 | | |
1208 | 11.0k | recordClonedInstruction( |
1209 | 11.0k | Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()), |
1210 | 11.0k | getOpValue(Inst->getOperand()))); |
1211 | 11.0k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Line | Count | Source | 1198 | 19 | void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) { | 1199 | 19 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1200 | | // If we are not inlining into an ownership function, just use a load. | 1201 | 19 | if (!getBuilder().hasOwnership()) { | 1202 | 0 | return recordClonedInstruction( | 1203 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1204 | 0 | getOpValue(Inst->getOperand()), | 1205 | 0 | LoadOwnershipQualifier::Unqualified)); | 1206 | 0 | } | 1207 | | | 1208 | 19 | recordClonedInstruction( | 1209 | 19 | Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()), | 1210 | 19 | getOpValue(Inst->getOperand()))); | 1211 | 19 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Line | Count | Source | 1198 | 5 | void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) { | 1199 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1200 | | // If we are not inlining into an ownership function, just use a load. | 1201 | 5 | if (!getBuilder().hasOwnership()) { | 1202 | 0 | return recordClonedInstruction( | 1203 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1204 | 0 | getOpValue(Inst->getOperand()), | 1205 | 0 | LoadOwnershipQualifier::Unqualified)); | 1206 | 0 | } | 1207 | | | 1208 | 5 | recordClonedInstruction( | 1209 | 5 | Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()), | 1210 | 5 | getOpValue(Inst->getOperand()))); | 1211 | 5 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Line | Count | Source | 1198 | 30 | void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) { | 1199 | 30 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1200 | | // If we are not inlining into an ownership function, just use a load. | 1201 | 30 | if (!getBuilder().hasOwnership()) { | 1202 | 0 | return recordClonedInstruction( | 1203 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1204 | 0 | getOpValue(Inst->getOperand()), | 1205 | 0 | LoadOwnershipQualifier::Unqualified)); | 1206 | 0 | } | 1207 | | | 1208 | 30 | recordClonedInstruction( | 1209 | 30 | Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()), | 1210 | 30 | getOpValue(Inst->getOperand()))); | 1211 | 30 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Line | Count | Source | 1198 | 2 | void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) { | 1199 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1200 | | // If we are not inlining into an ownership function, just use a load. | 1201 | 2 | if (!getBuilder().hasOwnership()) { | 1202 | 0 | return recordClonedInstruction( | 1203 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1204 | 0 | getOpValue(Inst->getOperand()), | 1205 | 0 | LoadOwnershipQualifier::Unqualified)); | 1206 | 0 | } | 1207 | | | 1208 | 2 | recordClonedInstruction( | 1209 | 2 | Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()), | 1210 | 2 | getOpValue(Inst->getOperand()))); | 1211 | 2 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Line | Count | Source | 1198 | 4.72k | void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) { | 1199 | 4.72k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1200 | | // If we are not inlining into an ownership function, just use a load. | 1201 | 4.72k | if (!getBuilder().hasOwnership()) { | 1202 | 0 | return recordClonedInstruction( | 1203 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1204 | 0 | getOpValue(Inst->getOperand()), | 1205 | 0 | LoadOwnershipQualifier::Unqualified)); | 1206 | 0 | } | 1207 | | | 1208 | 4.72k | recordClonedInstruction( | 1209 | 4.72k | Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()), | 1210 | 4.72k | getOpValue(Inst->getOperand()))); | 1211 | 4.72k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Line | Count | Source | 1198 | 7.00k | void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) { | 1199 | 7.00k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1200 | | // If we are not inlining into an ownership function, just use a load. | 1201 | 7.00k | if (!getBuilder().hasOwnership()) { | 1202 | 773 | return recordClonedInstruction( | 1203 | 773 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1204 | 773 | getOpValue(Inst->getOperand()), | 1205 | 773 | LoadOwnershipQualifier::Unqualified)); | 1206 | 773 | } | 1207 | | | 1208 | 6.22k | recordClonedInstruction( | 1209 | 6.22k | Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()), | 1210 | 6.22k | getOpValue(Inst->getOperand()))); | 1211 | 6.22k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE Line | Count | Source | 1198 | 15 | void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) { | 1199 | 15 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1200 | | // If we are not inlining into an ownership function, just use a load. | 1201 | 15 | if (!getBuilder().hasOwnership()) { | 1202 | 0 | return recordClonedInstruction( | 1203 | 0 | Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1204 | 0 | getOpValue(Inst->getOperand()), | 1205 | 0 | LoadOwnershipQualifier::Unqualified)); | 1206 | 0 | } | 1207 | | | 1208 | 15 | recordClonedInstruction( | 1209 | 15 | Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()), | 1210 | 15 | getOpValue(Inst->getOperand()))); | 1211 | 15 | } |
|
1212 | | |
1213 | | template <typename ImplClass> |
1214 | 10.8k | void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) { |
1215 | 10.8k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1216 | 10.8k | if (!getBuilder().hasOwnership()) { |
1217 | 126 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); |
1218 | 126 | } |
1219 | | |
1220 | 10.7k | recordClonedInstruction( |
1221 | 10.7k | Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()), |
1222 | 10.7k | getOpValue(Inst->getOperand()), |
1223 | 10.7k | Inst->isLexical())); |
1224 | 10.7k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Line | Count | Source | 1214 | 7 | void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) { | 1215 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1216 | 7 | if (!getBuilder().hasOwnership()) { | 1217 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1218 | 0 | } | 1219 | | | 1220 | 7 | recordClonedInstruction( | 1221 | 7 | Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()), | 1222 | 7 | getOpValue(Inst->getOperand()), | 1223 | 7 | Inst->isLexical())); | 1224 | 7 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Line | Count | Source | 1214 | 56 | void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) { | 1215 | 56 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1216 | 56 | if (!getBuilder().hasOwnership()) { | 1217 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1218 | 0 | } | 1219 | | | 1220 | 56 | recordClonedInstruction( | 1221 | 56 | Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()), | 1222 | 56 | getOpValue(Inst->getOperand()), | 1223 | 56 | Inst->isLexical())); | 1224 | 56 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Line | Count | Source | 1214 | 3 | void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) { | 1215 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1216 | 3 | if (!getBuilder().hasOwnership()) { | 1217 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1218 | 0 | } | 1219 | | | 1220 | 3 | recordClonedInstruction( | 1221 | 3 | Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()), | 1222 | 3 | getOpValue(Inst->getOperand()), | 1223 | 3 | Inst->isLexical())); | 1224 | 3 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Line | Count | Source | 1214 | 79 | void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) { | 1215 | 79 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1216 | 79 | if (!getBuilder().hasOwnership()) { | 1217 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1218 | 0 | } | 1219 | | | 1220 | 79 | recordClonedInstruction( | 1221 | 79 | Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()), | 1222 | 79 | getOpValue(Inst->getOperand()), | 1223 | 79 | Inst->isLexical())); | 1224 | 79 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Line | Count | Source | 1214 | 1 | void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) { | 1215 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1216 | 1 | if (!getBuilder().hasOwnership()) { | 1217 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1218 | 0 | } | 1219 | | | 1220 | 1 | recordClonedInstruction( | 1221 | 1 | Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()), | 1222 | 1 | getOpValue(Inst->getOperand()), | 1223 | 1 | Inst->isLexical())); | 1224 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Line | Count | Source | 1214 | 8 | void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) { | 1215 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1216 | 8 | if (!getBuilder().hasOwnership()) { | 1217 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1218 | 0 | } | 1219 | | | 1220 | 8 | recordClonedInstruction( | 1221 | 8 | Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()), | 1222 | 8 | getOpValue(Inst->getOperand()), | 1223 | 8 | Inst->isLexical())); | 1224 | 8 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE _ZN5swift9SILClonerINS_13GenericClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Line | Count | Source | 1214 | 8.40k | void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) { | 1215 | 8.40k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1216 | 8.40k | if (!getBuilder().hasOwnership()) { | 1217 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1218 | 0 | } | 1219 | | | 1220 | 8.40k | recordClonedInstruction( | 1221 | 8.40k | Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()), | 1222 | 8.40k | getOpValue(Inst->getOperand()), | 1223 | 8.40k | Inst->isLexical())); | 1224 | 8.40k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Line | Count | Source | 1214 | 2.20k | void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) { | 1215 | 2.20k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1216 | 2.20k | if (!getBuilder().hasOwnership()) { | 1217 | 126 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1218 | 126 | } | 1219 | | | 1220 | 2.08k | recordClonedInstruction( | 1221 | 2.08k | Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()), | 1222 | 2.08k | getOpValue(Inst->getOperand()), | 1223 | 2.08k | Inst->isLexical())); | 1224 | 2.08k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE Line | Count | Source | 1214 | 70 | void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) { | 1215 | 70 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1216 | 70 | if (!getBuilder().hasOwnership()) { | 1217 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1218 | 0 | } | 1219 | | | 1220 | 70 | recordClonedInstruction( | 1221 | 70 | Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()), | 1222 | 70 | getOpValue(Inst->getOperand()), | 1223 | 70 | Inst->isLexical())); | 1224 | 70 | } |
|
1225 | | |
1226 | | template <typename ImplClass> |
1227 | 81.5k | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { |
1228 | 81.5k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1229 | 81.5k | if (!getBuilder().hasOwnership()) { |
1230 | 39.1k | switch (Inst->getOwnershipQualifier()) { |
1231 | 9 | case StoreOwnershipQualifier::Assign: { |
1232 | 9 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), |
1233 | 9 | getOpValue(Inst->getDest()), |
1234 | 9 | LoadOwnershipQualifier::Unqualified); |
1235 | 9 | auto *si = getBuilder().createStore( |
1236 | 9 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), |
1237 | 9 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); |
1238 | 9 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); |
1239 | 9 | return recordClonedInstruction(Inst, si); |
1240 | 0 | } |
1241 | 255 | case StoreOwnershipQualifier::Init: |
1242 | 2.89k | case StoreOwnershipQualifier::Trivial: |
1243 | 39.1k | case StoreOwnershipQualifier::Unqualified: |
1244 | 39.1k | break; |
1245 | 39.1k | } |
1246 | | |
1247 | 39.1k | return recordClonedInstruction( |
1248 | 39.1k | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), |
1249 | 39.1k | getOpValue(Inst->getSrc()), |
1250 | 39.1k | getOpValue(Inst->getDest()), |
1251 | 39.1k | StoreOwnershipQualifier::Unqualified)); |
1252 | 39.1k | } |
1253 | | |
1254 | 42.3k | recordClonedInstruction( |
1255 | 42.3k | Inst, getBuilder().createStore( |
1256 | 42.3k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), |
1257 | 42.3k | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); |
1258 | 42.3k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14visitStoreInstEPNS_9StoreInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14visitStoreInstEPNS_9StoreInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE14visitStoreInstEPNS_9StoreInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 221 | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 221 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 221 | if (!getBuilder().hasOwnership()) { | 1230 | 0 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 0 | case StoreOwnershipQualifier::Unqualified: | 1244 | 0 | break; | 1245 | 0 | } | 1246 | | | 1247 | 0 | return recordClonedInstruction( | 1248 | 0 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 0 | getOpValue(Inst->getSrc()), | 1250 | 0 | getOpValue(Inst->getDest()), | 1251 | 0 | StoreOwnershipQualifier::Unqualified)); | 1252 | 0 | } | 1253 | | | 1254 | 221 | recordClonedInstruction( | 1255 | 221 | Inst, getBuilder().createStore( | 1256 | 221 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 221 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 221 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 1.02k | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 1.02k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 1.02k | if (!getBuilder().hasOwnership()) { | 1230 | 0 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 0 | case StoreOwnershipQualifier::Unqualified: | 1244 | 0 | break; | 1245 | 0 | } | 1246 | | | 1247 | 0 | return recordClonedInstruction( | 1248 | 0 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 0 | getOpValue(Inst->getSrc()), | 1250 | 0 | getOpValue(Inst->getDest()), | 1251 | 0 | StoreOwnershipQualifier::Unqualified)); | 1252 | 0 | } | 1253 | | | 1254 | 1.02k | recordClonedInstruction( | 1255 | 1.02k | Inst, getBuilder().createStore( | 1256 | 1.02k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 1.02k | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 1.02k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 904 | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 904 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 904 | if (!getBuilder().hasOwnership()) { | 1230 | 902 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 902 | case StoreOwnershipQualifier::Unqualified: | 1244 | 902 | break; | 1245 | 902 | } | 1246 | | | 1247 | 902 | return recordClonedInstruction( | 1248 | 902 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 902 | getOpValue(Inst->getSrc()), | 1250 | 902 | getOpValue(Inst->getDest()), | 1251 | 902 | StoreOwnershipQualifier::Unqualified)); | 1252 | 902 | } | 1253 | | | 1254 | 2 | recordClonedInstruction( | 1255 | 2 | Inst, getBuilder().createStore( | 1256 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 2 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 2 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 1.01k | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 1.01k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 1.01k | if (!getBuilder().hasOwnership()) { | 1230 | 341 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 341 | case StoreOwnershipQualifier::Unqualified: | 1244 | 341 | break; | 1245 | 341 | } | 1246 | | | 1247 | 341 | return recordClonedInstruction( | 1248 | 341 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 341 | getOpValue(Inst->getSrc()), | 1250 | 341 | getOpValue(Inst->getDest()), | 1251 | 341 | StoreOwnershipQualifier::Unqualified)); | 1252 | 341 | } | 1253 | | | 1254 | 673 | recordClonedInstruction( | 1255 | 673 | Inst, getBuilder().createStore( | 1256 | 673 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 673 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 673 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 27 | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 27 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 27 | if (!getBuilder().hasOwnership()) { | 1230 | 27 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 27 | case StoreOwnershipQualifier::Unqualified: | 1244 | 27 | break; | 1245 | 27 | } | 1246 | | | 1247 | 27 | return recordClonedInstruction( | 1248 | 27 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 27 | getOpValue(Inst->getSrc()), | 1250 | 27 | getOpValue(Inst->getDest()), | 1251 | 27 | StoreOwnershipQualifier::Unqualified)); | 1252 | 27 | } | 1253 | | | 1254 | 0 | recordClonedInstruction( | 1255 | 0 | Inst, getBuilder().createStore( | 1256 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 0 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 0 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 1.09k | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 1.09k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 1.09k | if (!getBuilder().hasOwnership()) { | 1230 | 1.09k | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 1.09k | case StoreOwnershipQualifier::Unqualified: | 1244 | 1.09k | break; | 1245 | 1.09k | } | 1246 | | | 1247 | 1.09k | return recordClonedInstruction( | 1248 | 1.09k | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 1.09k | getOpValue(Inst->getSrc()), | 1250 | 1.09k | getOpValue(Inst->getDest()), | 1251 | 1.09k | StoreOwnershipQualifier::Unqualified)); | 1252 | 1.09k | } | 1253 | | | 1254 | 0 | recordClonedInstruction( | 1255 | 0 | Inst, getBuilder().createStore( | 1256 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 0 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 0 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 23 | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 23 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 23 | if (!getBuilder().hasOwnership()) { | 1230 | 23 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 23 | case StoreOwnershipQualifier::Unqualified: | 1244 | 23 | break; | 1245 | 23 | } | 1246 | | | 1247 | 23 | return recordClonedInstruction( | 1248 | 23 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 23 | getOpValue(Inst->getSrc()), | 1250 | 23 | getOpValue(Inst->getDest()), | 1251 | 23 | StoreOwnershipQualifier::Unqualified)); | 1252 | 23 | } | 1253 | | | 1254 | 0 | recordClonedInstruction( | 1255 | 0 | Inst, getBuilder().createStore( | 1256 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 0 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 0 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14visitStoreInstEPNS_9StoreInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 42 | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 42 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 42 | if (!getBuilder().hasOwnership()) { | 1230 | 42 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 42 | case StoreOwnershipQualifier::Unqualified: | 1244 | 42 | break; | 1245 | 42 | } | 1246 | | | 1247 | 42 | return recordClonedInstruction( | 1248 | 42 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 42 | getOpValue(Inst->getSrc()), | 1250 | 42 | getOpValue(Inst->getDest()), | 1251 | 42 | StoreOwnershipQualifier::Unqualified)); | 1252 | 42 | } | 1253 | | | 1254 | 0 | recordClonedInstruction( | 1255 | 0 | Inst, getBuilder().createStore( | 1256 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 0 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 0 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 36 | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 36 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 36 | if (!getBuilder().hasOwnership()) { | 1230 | 36 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 36 | case StoreOwnershipQualifier::Unqualified: | 1244 | 36 | break; | 1245 | 36 | } | 1246 | | | 1247 | 36 | return recordClonedInstruction( | 1248 | 36 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 36 | getOpValue(Inst->getSrc()), | 1250 | 36 | getOpValue(Inst->getDest()), | 1251 | 36 | StoreOwnershipQualifier::Unqualified)); | 1252 | 36 | } | 1253 | | | 1254 | 0 | recordClonedInstruction( | 1255 | 0 | Inst, getBuilder().createStore( | 1256 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 0 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 0 | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 26 | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 26 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 26 | if (!getBuilder().hasOwnership()) { | 1230 | 0 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 0 | case StoreOwnershipQualifier::Unqualified: | 1244 | 0 | break; | 1245 | 0 | } | 1246 | | | 1247 | 0 | return recordClonedInstruction( | 1248 | 0 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 0 | getOpValue(Inst->getSrc()), | 1250 | 0 | getOpValue(Inst->getDest()), | 1251 | 0 | StoreOwnershipQualifier::Unqualified)); | 1252 | 0 | } | 1253 | | | 1254 | 26 | recordClonedInstruction( | 1255 | 26 | Inst, getBuilder().createStore( | 1256 | 26 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 26 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 26 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14visitStoreInstEPNS_9StoreInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14visitStoreInstEPNS_9StoreInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 36 | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 36 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 36 | if (!getBuilder().hasOwnership()) { | 1230 | 0 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 0 | case StoreOwnershipQualifier::Unqualified: | 1244 | 0 | break; | 1245 | 0 | } | 1246 | | | 1247 | 0 | return recordClonedInstruction( | 1248 | 0 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 0 | getOpValue(Inst->getSrc()), | 1250 | 0 | getOpValue(Inst->getDest()), | 1251 | 0 | StoreOwnershipQualifier::Unqualified)); | 1252 | 0 | } | 1253 | | | 1254 | 36 | recordClonedInstruction( | 1255 | 36 | Inst, getBuilder().createStore( | 1256 | 36 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 36 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 36 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE14visitStoreInstEPNS_9StoreInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14visitStoreInstEPNS_9StoreInstE _ZN5swift9SILClonerINS_13GenericClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 19.9k | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 19.9k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 19.9k | if (!getBuilder().hasOwnership()) { | 1230 | 10.3k | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 10.3k | case StoreOwnershipQualifier::Unqualified: | 1244 | 10.3k | break; | 1245 | 10.3k | } | 1246 | | | 1247 | 10.3k | return recordClonedInstruction( | 1248 | 10.3k | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 10.3k | getOpValue(Inst->getSrc()), | 1250 | 10.3k | getOpValue(Inst->getDest()), | 1251 | 10.3k | StoreOwnershipQualifier::Unqualified)); | 1252 | 10.3k | } | 1253 | | | 1254 | 9.51k | recordClonedInstruction( | 1255 | 9.51k | Inst, getBuilder().createStore( | 1256 | 9.51k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 9.51k | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 9.51k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 57.1k | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 57.1k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 57.1k | if (!getBuilder().hasOwnership()) { | 1230 | 26.3k | switch (Inst->getOwnershipQualifier()) { | 1231 | 9 | case StoreOwnershipQualifier::Assign: { | 1232 | 9 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 9 | getOpValue(Inst->getDest()), | 1234 | 9 | LoadOwnershipQualifier::Unqualified); | 1235 | 9 | auto *si = getBuilder().createStore( | 1236 | 9 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 9 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 9 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 9 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 255 | case StoreOwnershipQualifier::Init: | 1242 | 2.89k | case StoreOwnershipQualifier::Trivial: | 1243 | 26.2k | case StoreOwnershipQualifier::Unqualified: | 1244 | 26.2k | break; | 1245 | 26.3k | } | 1246 | | | 1247 | 26.2k | return recordClonedInstruction( | 1248 | 26.2k | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 26.2k | getOpValue(Inst->getSrc()), | 1250 | 26.2k | getOpValue(Inst->getDest()), | 1251 | 26.2k | StoreOwnershipQualifier::Unqualified)); | 1252 | 26.3k | } | 1253 | | | 1254 | 30.8k | recordClonedInstruction( | 1255 | 30.8k | Inst, getBuilder().createStore( | 1256 | 30.8k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 30.8k | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 30.8k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE14visitStoreInstEPNS_9StoreInstE Line | Count | Source | 1227 | 9 | void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) { | 1228 | 9 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1229 | 9 | if (!getBuilder().hasOwnership()) { | 1230 | 8 | switch (Inst->getOwnershipQualifier()) { | 1231 | 0 | case StoreOwnershipQualifier::Assign: { | 1232 | 0 | auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()), | 1233 | 0 | getOpValue(Inst->getDest()), | 1234 | 0 | LoadOwnershipQualifier::Unqualified); | 1235 | 0 | auto *si = getBuilder().createStore( | 1236 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1237 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1238 | 0 | getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li); | 1239 | 0 | return recordClonedInstruction(Inst, si); | 1240 | 0 | } | 1241 | 0 | case StoreOwnershipQualifier::Init: | 1242 | 0 | case StoreOwnershipQualifier::Trivial: | 1243 | 8 | case StoreOwnershipQualifier::Unqualified: | 1244 | 8 | break; | 1245 | 8 | } | 1246 | | | 1247 | 8 | return recordClonedInstruction( | 1248 | 8 | Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()), | 1249 | 8 | getOpValue(Inst->getSrc()), | 1250 | 8 | getOpValue(Inst->getDest()), | 1251 | 8 | StoreOwnershipQualifier::Unqualified)); | 1252 | 8 | } | 1253 | | | 1254 | 1 | recordClonedInstruction( | 1255 | 1 | Inst, getBuilder().createStore( | 1256 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1257 | 1 | getOpValue(Inst->getDest()), Inst->getOwnershipQualifier())); | 1258 | 1 | } |
|
1259 | | |
1260 | | template <typename ImplClass> |
1261 | 1.72k | void SILCloner<ImplClass>::visitStoreBorrowInst(StoreBorrowInst *Inst) { |
1262 | 1.72k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1263 | 1.72k | if (!getBuilder().hasOwnership()) { |
1264 | 7 | getBuilder().createStore( |
1265 | 7 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), |
1266 | 7 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); |
1267 | 7 | mapValue(Inst, getOpValue(Inst->getDest())); |
1268 | 7 | return; |
1269 | 7 | } |
1270 | | |
1271 | 1.72k | recordClonedInstruction( |
1272 | 1.72k | Inst, getBuilder().createStoreBorrow(getOpLocation(Inst->getLoc()), |
1273 | 1.72k | getOpValue(Inst->getSrc()), |
1274 | 1.72k | getOpValue(Inst->getDest()))); |
1275 | 1.72k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Line | Count | Source | 1261 | 6 | void SILCloner<ImplClass>::visitStoreBorrowInst(StoreBorrowInst *Inst) { | 1262 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1263 | 6 | if (!getBuilder().hasOwnership()) { | 1264 | 0 | getBuilder().createStore( | 1265 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1266 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1267 | 0 | mapValue(Inst, getOpValue(Inst->getDest())); | 1268 | 0 | return; | 1269 | 0 | } | 1270 | | | 1271 | 6 | recordClonedInstruction( | 1272 | 6 | Inst, getBuilder().createStoreBorrow(getOpLocation(Inst->getLoc()), | 1273 | 6 | getOpValue(Inst->getSrc()), | 1274 | 6 | getOpValue(Inst->getDest()))); | 1275 | 6 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Line | Count | Source | 1261 | 10 | void SILCloner<ImplClass>::visitStoreBorrowInst(StoreBorrowInst *Inst) { | 1262 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1263 | 10 | if (!getBuilder().hasOwnership()) { | 1264 | 0 | getBuilder().createStore( | 1265 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1266 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1267 | 0 | mapValue(Inst, getOpValue(Inst->getDest())); | 1268 | 0 | return; | 1269 | 0 | } | 1270 | | | 1271 | 10 | recordClonedInstruction( | 1272 | 10 | Inst, getBuilder().createStoreBorrow(getOpLocation(Inst->getLoc()), | 1273 | 10 | getOpValue(Inst->getSrc()), | 1274 | 10 | getOpValue(Inst->getDest()))); | 1275 | 10 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE _ZN5swift9SILClonerINS_13GenericClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Line | Count | Source | 1261 | 776 | void SILCloner<ImplClass>::visitStoreBorrowInst(StoreBorrowInst *Inst) { | 1262 | 776 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1263 | 776 | if (!getBuilder().hasOwnership()) { | 1264 | 0 | getBuilder().createStore( | 1265 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1266 | 0 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1267 | 0 | mapValue(Inst, getOpValue(Inst->getDest())); | 1268 | 0 | return; | 1269 | 0 | } | 1270 | | | 1271 | 776 | recordClonedInstruction( | 1272 | 776 | Inst, getBuilder().createStoreBorrow(getOpLocation(Inst->getLoc()), | 1273 | 776 | getOpValue(Inst->getSrc()), | 1274 | 776 | getOpValue(Inst->getDest()))); | 1275 | 776 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE Line | Count | Source | 1261 | 937 | void SILCloner<ImplClass>::visitStoreBorrowInst(StoreBorrowInst *Inst) { | 1262 | 937 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1263 | 937 | if (!getBuilder().hasOwnership()) { | 1264 | 7 | getBuilder().createStore( | 1265 | 7 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1266 | 7 | getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified); | 1267 | 7 | mapValue(Inst, getOpValue(Inst->getDest())); | 1268 | 7 | return; | 1269 | 7 | } | 1270 | | | 1271 | 930 | recordClonedInstruction( | 1272 | 930 | Inst, getBuilder().createStoreBorrow(getOpLocation(Inst->getLoc()), | 1273 | 930 | getOpValue(Inst->getSrc()), | 1274 | 930 | getOpValue(Inst->getDest()))); | 1275 | 930 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE |
1276 | | |
1277 | | template <typename ImplClass> |
1278 | 26.5k | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { |
1279 | 26.5k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1280 | | |
1281 | | // Do not clone any end_borrow. |
1282 | 26.5k | if (!getBuilder().hasOwnership()) |
1283 | 939 | return; |
1284 | | |
1285 | 25.5k | recordClonedInstruction( |
1286 | 25.5k | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), |
1287 | 25.5k | getOpValue(Inst->getOperand()))); |
1288 | 25.5k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitEndBorrowInstEPNS_13EndBorrowInstE Line | Count | Source | 1278 | 7 | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { | 1279 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1280 | | | 1281 | | // Do not clone any end_borrow. | 1282 | 7 | if (!getBuilder().hasOwnership()) | 1283 | 0 | return; | 1284 | | | 1285 | 7 | recordClonedInstruction( | 1286 | 7 | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), | 1287 | 7 | getOpValue(Inst->getOperand()))); | 1288 | 7 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitEndBorrowInstEPNS_13EndBorrowInstE Line | Count | Source | 1278 | 84 | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { | 1279 | 84 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1280 | | | 1281 | | // Do not clone any end_borrow. | 1282 | 84 | if (!getBuilder().hasOwnership()) | 1283 | 0 | return; | 1284 | | | 1285 | 84 | recordClonedInstruction( | 1286 | 84 | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), | 1287 | 84 | getOpValue(Inst->getOperand()))); | 1288 | 84 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Line | Count | Source | 1278 | 8 | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { | 1279 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1280 | | | 1281 | | // Do not clone any end_borrow. | 1282 | 8 | if (!getBuilder().hasOwnership()) | 1283 | 0 | return; | 1284 | | | 1285 | 8 | recordClonedInstruction( | 1286 | 8 | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), | 1287 | 8 | getOpValue(Inst->getOperand()))); | 1288 | 8 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Line | Count | Source | 1278 | 312 | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { | 1279 | 312 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1280 | | | 1281 | | // Do not clone any end_borrow. | 1282 | 312 | if (!getBuilder().hasOwnership()) | 1283 | 0 | return; | 1284 | | | 1285 | 312 | recordClonedInstruction( | 1286 | 312 | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), | 1287 | 312 | getOpValue(Inst->getOperand()))); | 1288 | 312 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitEndBorrowInstEPNS_13EndBorrowInstE Line | Count | Source | 1278 | 1 | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { | 1279 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1280 | | | 1281 | | // Do not clone any end_borrow. | 1282 | 1 | if (!getBuilder().hasOwnership()) | 1283 | 0 | return; | 1284 | | | 1285 | 1 | recordClonedInstruction( | 1286 | 1 | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), | 1287 | 1 | getOpValue(Inst->getOperand()))); | 1288 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Line | Count | Source | 1278 | 10 | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { | 1279 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1280 | | | 1281 | | // Do not clone any end_borrow. | 1282 | 10 | if (!getBuilder().hasOwnership()) | 1283 | 0 | return; | 1284 | | | 1285 | 10 | recordClonedInstruction( | 1286 | 10 | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), | 1287 | 10 | getOpValue(Inst->getOperand()))); | 1288 | 10 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitEndBorrowInstEPNS_13EndBorrowInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Line | Count | Source | 1278 | 10 | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { | 1279 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1280 | | | 1281 | | // Do not clone any end_borrow. | 1282 | 10 | if (!getBuilder().hasOwnership()) | 1283 | 0 | return; | 1284 | | | 1285 | 10 | recordClonedInstruction( | 1286 | 10 | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), | 1287 | 10 | getOpValue(Inst->getOperand()))); | 1288 | 10 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitEndBorrowInstEPNS_13EndBorrowInstE _ZN5swift9SILClonerINS_13GenericClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Line | Count | Source | 1278 | 15.2k | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { | 1279 | 15.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1280 | | | 1281 | | // Do not clone any end_borrow. | 1282 | 15.2k | if (!getBuilder().hasOwnership()) | 1283 | 0 | return; | 1284 | | | 1285 | 15.2k | recordClonedInstruction( | 1286 | 15.2k | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), | 1287 | 15.2k | getOpValue(Inst->getOperand()))); | 1288 | 15.2k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Line | Count | Source | 1278 | 10.7k | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { | 1279 | 10.7k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1280 | | | 1281 | | // Do not clone any end_borrow. | 1282 | 10.7k | if (!getBuilder().hasOwnership()) | 1283 | 939 | return; | 1284 | | | 1285 | 9.80k | recordClonedInstruction( | 1286 | 9.80k | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), | 1287 | 9.80k | getOpValue(Inst->getOperand()))); | 1288 | 9.80k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE Line | Count | Source | 1278 | 76 | void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) { | 1279 | 76 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1280 | | | 1281 | | // Do not clone any end_borrow. | 1282 | 76 | if (!getBuilder().hasOwnership()) | 1283 | 0 | return; | 1284 | | | 1285 | 76 | recordClonedInstruction( | 1286 | 76 | Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()), | 1287 | 76 | getOpValue(Inst->getOperand()))); | 1288 | 76 | } |
|
1289 | | |
1290 | | template <typename ImplClass> |
1291 | 2.88k | void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) { |
1292 | 2.88k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1293 | 2.88k | recordClonedInstruction( |
1294 | 2.88k | Inst, getBuilder().createBeginAccess( |
1295 | 2.88k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1296 | 2.88k | Inst->getAccessKind(), Inst->getEnforcement(), |
1297 | 2.88k | Inst->hasNoNestedConflict(), Inst->isFromBuiltin())); |
1298 | 2.88k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitBeginAccessInstEPNS_15BeginAccessInstE Line | Count | Source | 1291 | 151 | void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) { | 1292 | 151 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1293 | 151 | recordClonedInstruction( | 1294 | 151 | Inst, getBuilder().createBeginAccess( | 1295 | 151 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1296 | 151 | Inst->getAccessKind(), Inst->getEnforcement(), | 1297 | 151 | Inst->hasNoNestedConflict(), Inst->isFromBuiltin())); | 1298 | 151 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitBeginAccessInstEPNS_15BeginAccessInstE Line | Count | Source | 1291 | 876 | void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) { | 1292 | 876 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1293 | 876 | recordClonedInstruction( | 1294 | 876 | Inst, getBuilder().createBeginAccess( | 1295 | 876 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1296 | 876 | Inst->getAccessKind(), Inst->getEnforcement(), | 1297 | 876 | Inst->hasNoNestedConflict(), Inst->isFromBuiltin())); | 1298 | 876 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Line | Count | Source | 1291 | 22 | void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) { | 1292 | 22 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1293 | 22 | recordClonedInstruction( | 1294 | 22 | Inst, getBuilder().createBeginAccess( | 1295 | 22 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1296 | 22 | Inst->getAccessKind(), Inst->getEnforcement(), | 1297 | 22 | Inst->hasNoNestedConflict(), Inst->isFromBuiltin())); | 1298 | 22 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Line | Count | Source | 1291 | 32 | void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) { | 1292 | 32 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1293 | 32 | recordClonedInstruction( | 1294 | 32 | Inst, getBuilder().createBeginAccess( | 1295 | 32 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1296 | 32 | Inst->getAccessKind(), Inst->getEnforcement(), | 1297 | 32 | Inst->hasNoNestedConflict(), Inst->isFromBuiltin())); | 1298 | 32 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitBeginAccessInstEPNS_15BeginAccessInstE Line | Count | Source | 1291 | 1 | void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) { | 1292 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1293 | 1 | recordClonedInstruction( | 1294 | 1 | Inst, getBuilder().createBeginAccess( | 1295 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1296 | 1 | Inst->getAccessKind(), Inst->getEnforcement(), | 1297 | 1 | Inst->hasNoNestedConflict(), Inst->isFromBuiltin())); | 1298 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Line | Count | Source | 1291 | 22 | void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) { | 1292 | 22 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1293 | 22 | recordClonedInstruction( | 1294 | 22 | Inst, getBuilder().createBeginAccess( | 1295 | 22 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1296 | 22 | Inst->getAccessKind(), Inst->getEnforcement(), | 1297 | 22 | Inst->hasNoNestedConflict(), Inst->isFromBuiltin())); | 1298 | 22 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitBeginAccessInstEPNS_15BeginAccessInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Line | Count | Source | 1291 | 44 | void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) { | 1292 | 44 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1293 | 44 | recordClonedInstruction( | 1294 | 44 | Inst, getBuilder().createBeginAccess( | 1295 | 44 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1296 | 44 | Inst->getAccessKind(), Inst->getEnforcement(), | 1297 | 44 | Inst->hasNoNestedConflict(), Inst->isFromBuiltin())); | 1298 | 44 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitBeginAccessInstEPNS_15BeginAccessInstE _ZN5swift9SILClonerINS_13GenericClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Line | Count | Source | 1291 | 102 | void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) { | 1292 | 102 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1293 | 102 | recordClonedInstruction( | 1294 | 102 | Inst, getBuilder().createBeginAccess( | 1295 | 102 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1296 | 102 | Inst->getAccessKind(), Inst->getEnforcement(), | 1297 | 102 | Inst->hasNoNestedConflict(), Inst->isFromBuiltin())); | 1298 | 102 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE Line | Count | Source | 1291 | 1.63k | void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) { | 1292 | 1.63k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1293 | 1.63k | recordClonedInstruction( | 1294 | 1.63k | Inst, getBuilder().createBeginAccess( | 1295 | 1.63k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1296 | 1.63k | Inst->getAccessKind(), Inst->getEnforcement(), | 1297 | 1.63k | Inst->hasNoNestedConflict(), Inst->isFromBuiltin())); | 1298 | 1.63k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE |
1299 | | |
1300 | | template <typename ImplClass> |
1301 | 2.91k | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { |
1302 | 2.91k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1303 | 2.91k | recordClonedInstruction( |
1304 | 2.91k | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), |
1305 | 2.91k | getOpValue(Inst->getOperand()), |
1306 | 2.91k | Inst->isAborting())); |
1307 | 2.91k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitEndAccessInstEPNS_13EndAccessInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitEndAccessInstEPNS_13EndAccessInstE Line | Count | Source | 1301 | 148 | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { | 1302 | 148 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1303 | 148 | recordClonedInstruction( | 1304 | 148 | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), | 1305 | 148 | getOpValue(Inst->getOperand()), | 1306 | 148 | Inst->isAborting())); | 1307 | 148 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitEndAccessInstEPNS_13EndAccessInstE Line | Count | Source | 1301 | 876 | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { | 1302 | 876 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1303 | 876 | recordClonedInstruction( | 1304 | 876 | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), | 1305 | 876 | getOpValue(Inst->getOperand()), | 1306 | 876 | Inst->isAborting())); | 1307 | 876 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Line | Count | Source | 1301 | 22 | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { | 1302 | 22 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1303 | 22 | recordClonedInstruction( | 1304 | 22 | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), | 1305 | 22 | getOpValue(Inst->getOperand()), | 1306 | 22 | Inst->isAborting())); | 1307 | 22 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Line | Count | Source | 1301 | 3 | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { | 1302 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1303 | 3 | recordClonedInstruction( | 1304 | 3 | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), | 1305 | 3 | getOpValue(Inst->getOperand()), | 1306 | 3 | Inst->isAborting())); | 1307 | 3 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitEndAccessInstEPNS_13EndAccessInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Line | Count | Source | 1301 | 36 | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { | 1302 | 36 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1303 | 36 | recordClonedInstruction( | 1304 | 36 | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), | 1305 | 36 | getOpValue(Inst->getOperand()), | 1306 | 36 | Inst->isAborting())); | 1307 | 36 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitEndAccessInstEPNS_13EndAccessInstE Line | Count | Source | 1301 | 2 | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { | 1302 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1303 | 2 | recordClonedInstruction( | 1304 | 2 | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), | 1305 | 2 | getOpValue(Inst->getOperand()), | 1306 | 2 | Inst->isAborting())); | 1307 | 2 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitEndAccessInstEPNS_13EndAccessInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Line | Count | Source | 1301 | 22 | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { | 1302 | 22 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1303 | 22 | recordClonedInstruction( | 1304 | 22 | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), | 1305 | 22 | getOpValue(Inst->getOperand()), | 1306 | 22 | Inst->isAborting())); | 1307 | 22 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitEndAccessInstEPNS_13EndAccessInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Line | Count | Source | 1301 | 44 | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { | 1302 | 44 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1303 | 44 | recordClonedInstruction( | 1304 | 44 | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), | 1305 | 44 | getOpValue(Inst->getOperand()), | 1306 | 44 | Inst->isAborting())); | 1307 | 44 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitEndAccessInstEPNS_13EndAccessInstE _ZN5swift9SILClonerINS_13GenericClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Line | Count | Source | 1301 | 102 | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { | 1302 | 102 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1303 | 102 | recordClonedInstruction( | 1304 | 102 | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), | 1305 | 102 | getOpValue(Inst->getOperand()), | 1306 | 102 | Inst->isAborting())); | 1307 | 102 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitEndAccessInstEPNS_13EndAccessInstE Line | Count | Source | 1301 | 1.65k | void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) { | 1302 | 1.65k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1303 | 1.65k | recordClonedInstruction( | 1304 | 1.65k | Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()), | 1305 | 1.65k | getOpValue(Inst->getOperand()), | 1306 | 1.65k | Inst->isAborting())); | 1307 | 1.65k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitEndAccessInstEPNS_13EndAccessInstE |
1308 | | |
1309 | | template <typename ImplClass> |
1310 | | void SILCloner<ImplClass>::visitBeginUnpairedAccessInst( |
1311 | 0 | BeginUnpairedAccessInst *Inst) { |
1312 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1313 | 0 | recordClonedInstruction( |
1314 | 0 | Inst, getBuilder().createBeginUnpairedAccess( |
1315 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSource()), |
1316 | 0 | getOpValue(Inst->getBuffer()), Inst->getAccessKind(), |
1317 | 0 | Inst->getEnforcement(), Inst->hasNoNestedConflict(), |
1318 | 0 | Inst->isFromBuiltin())); |
1319 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE |
1320 | | |
1321 | | template <typename ImplClass> |
1322 | | void SILCloner<ImplClass>::visitEndUnpairedAccessInst( |
1323 | 0 | EndUnpairedAccessInst *Inst) { |
1324 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1325 | 0 | recordClonedInstruction(Inst, getBuilder().createEndUnpairedAccess( |
1326 | 0 | getOpLocation(Inst->getLoc()), |
1327 | 0 | getOpValue(Inst->getOperand()), |
1328 | 0 | Inst->getEnforcement(), Inst->isAborting(), |
1329 | 0 | Inst->isFromBuiltin())); |
1330 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE |
1331 | | |
1332 | | template <typename ImplClass> |
1333 | 0 | void SILCloner<ImplClass>::visitAssignInst(AssignInst *Inst) { |
1334 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1335 | 0 | recordClonedInstruction( |
1336 | 0 | Inst, getBuilder().createAssign(getOpLocation(Inst->getLoc()), |
1337 | 0 | getOpValue(Inst->getSrc()), |
1338 | 0 | getOpValue(Inst->getDest()), |
1339 | 0 | Inst->getOwnershipQualifier())); |
1340 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE15visitAssignInstEPNS_10AssignInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitAssignInstEPNS_10AssignInstE |
1341 | | |
1342 | | template <typename ImplClass> |
1343 | 0 | void SILCloner<ImplClass>::visitAssignByWrapperInst(AssignByWrapperInst *Inst) { |
1344 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1345 | 0 | recordClonedInstruction( |
1346 | 0 | Inst, getBuilder().createAssignByWrapper( |
1347 | 0 | getOpLocation(Inst->getLoc()), |
1348 | 0 | getOpValue(Inst->getSrc()), getOpValue(Inst->getDest()), |
1349 | 0 | getOpValue(Inst->getInitializer()), |
1350 | 0 | getOpValue(Inst->getSetter()), Inst->getMode())); |
1351 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE |
1352 | | |
1353 | | template <typename ImplClass> |
1354 | 0 | void SILCloner<ImplClass>::visitAssignOrInitInst(AssignOrInitInst *Inst) { |
1355 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1356 | 0 | recordClonedInstruction( |
1357 | 0 | Inst, getBuilder().createAssignOrInit( |
1358 | 0 | getOpLocation(Inst->getLoc()), |
1359 | 0 | Inst->getProperty(), |
1360 | 0 | getOpValue(Inst->getSelf()), |
1361 | 0 | getOpValue(Inst->getSrc()), |
1362 | 0 | getOpValue(Inst->getInitializer()), |
1363 | 0 | getOpValue(Inst->getSetter()), Inst->getMode())); |
1364 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE |
1365 | | |
1366 | | template<typename ImplClass> |
1367 | | void |
1368 | 0 | SILCloner<ImplClass>::visitMarkUninitializedInst(MarkUninitializedInst *Inst) { |
1369 | 0 | SILValue OpValue = getOpValue(Inst->getOperand()); |
1370 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1371 | 0 | recordClonedInstruction(Inst, getBuilder().createMarkUninitialized( |
1372 | 0 | getOpLocation(Inst->getLoc()), OpValue, |
1373 | 0 | Inst->getMarkUninitializedKind())); |
1374 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE |
1375 | | |
1376 | | template<typename ImplClass> |
1377 | | void |
1378 | 0 | SILCloner<ImplClass>::visitMarkFunctionEscapeInst(MarkFunctionEscapeInst *Inst){ |
1379 | 0 | auto OpElements = getOpValueArray<8>(Inst->getElements()); |
1380 | 0 | auto OpLoc = getOpLocation(Inst->getLoc()); |
1381 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1382 | 0 | recordClonedInstruction( |
1383 | 0 | Inst, getBuilder().createMarkFunctionEscape(OpLoc, OpElements)); |
1384 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE |
1385 | | template<typename ImplClass> |
1386 | | void |
1387 | 87.1k | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { |
1388 | | // We cannot inline/clone debug intrinsics without a scope. If they |
1389 | | // describe function arguments there is no way to determine which |
1390 | | // function they belong to. |
1391 | 87.1k | if (!Inst->getDebugScope()) |
1392 | 0 | return; |
1393 | | |
1394 | | // Since we want the debug info to survive, we do not remap the location here. |
1395 | 87.1k | SILDebugVariable VarInfo = *Inst->getVarInfo(); |
1396 | 87.1k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1397 | 87.1k | auto *NewInst = getBuilder().createDebugValue( |
1398 | 87.1k | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, |
1399 | 87.1k | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), |
1400 | 87.1k | Inst->hasTrace()); |
1401 | 87.1k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); |
1402 | 87.1k | recordClonedInstruction(Inst, NewInst); |
1403 | 87.1k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitDebugValueInstEPNS_14DebugValueInstE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 1 | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 1 | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 1 | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 1 | auto *NewInst = getBuilder().createDebugValue( | 1398 | 1 | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 1 | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 1 | Inst->hasTrace()); | 1401 | 1 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 1 | recordClonedInstruction(Inst, NewInst); | 1403 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 539 | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 539 | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 539 | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 539 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 539 | auto *NewInst = getBuilder().createDebugValue( | 1398 | 539 | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 539 | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 539 | Inst->hasTrace()); | 1401 | 539 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 539 | recordClonedInstruction(Inst, NewInst); | 1403 | 539 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 2.15k | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 2.15k | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 2.15k | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 2.15k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 2.15k | auto *NewInst = getBuilder().createDebugValue( | 1398 | 2.15k | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 2.15k | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 2.15k | Inst->hasTrace()); | 1401 | 2.15k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 2.15k | recordClonedInstruction(Inst, NewInst); | 1403 | 2.15k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 3.07k | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 3.07k | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 3.07k | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 3.07k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 3.07k | auto *NewInst = getBuilder().createDebugValue( | 1398 | 3.07k | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 3.07k | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 3.07k | Inst->hasTrace()); | 1401 | 3.07k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 3.07k | recordClonedInstruction(Inst, NewInst); | 1403 | 3.07k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 1.54k | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 1.54k | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 1.54k | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 1.54k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 1.54k | auto *NewInst = getBuilder().createDebugValue( | 1398 | 1.54k | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 1.54k | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 1.54k | Inst->hasTrace()); | 1401 | 1.54k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 1.54k | recordClonedInstruction(Inst, NewInst); | 1403 | 1.54k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 239 | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 239 | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 239 | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 239 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 239 | auto *NewInst = getBuilder().createDebugValue( | 1398 | 239 | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 239 | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 239 | Inst->hasTrace()); | 1401 | 239 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 239 | recordClonedInstruction(Inst, NewInst); | 1403 | 239 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 1.00k | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 1.00k | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 1.00k | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 1.00k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 1.00k | auto *NewInst = getBuilder().createDebugValue( | 1398 | 1.00k | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 1.00k | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 1.00k | Inst->hasTrace()); | 1401 | 1.00k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 1.00k | recordClonedInstruction(Inst, NewInst); | 1403 | 1.00k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 58 | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 58 | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 58 | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 58 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 58 | auto *NewInst = getBuilder().createDebugValue( | 1398 | 58 | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 58 | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 58 | Inst->hasTrace()); | 1401 | 58 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 58 | recordClonedInstruction(Inst, NewInst); | 1403 | 58 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitDebugValueInstEPNS_14DebugValueInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 30 | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 30 | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 30 | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 30 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 30 | auto *NewInst = getBuilder().createDebugValue( | 1398 | 30 | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 30 | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 30 | Inst->hasTrace()); | 1401 | 30 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 30 | recordClonedInstruction(Inst, NewInst); | 1403 | 30 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 27 | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 27 | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 27 | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 27 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 27 | auto *NewInst = getBuilder().createDebugValue( | 1398 | 27 | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 27 | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 27 | Inst->hasTrace()); | 1401 | 27 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 27 | recordClonedInstruction(Inst, NewInst); | 1403 | 27 | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 16 | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 16 | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 16 | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 16 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 16 | auto *NewInst = getBuilder().createDebugValue( | 1398 | 16 | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 16 | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 16 | Inst->hasTrace()); | 1401 | 16 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 16 | recordClonedInstruction(Inst, NewInst); | 1403 | 16 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitDebugValueInstEPNS_14DebugValueInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 39 | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 39 | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 39 | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 39 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 39 | auto *NewInst = getBuilder().createDebugValue( | 1398 | 39 | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 39 | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 39 | Inst->hasTrace()); | 1401 | 39 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 39 | recordClonedInstruction(Inst, NewInst); | 1403 | 39 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitDebugValueInstEPNS_14DebugValueInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 19.9k | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 19.9k | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 19.9k | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 19.9k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 19.9k | auto *NewInst = getBuilder().createDebugValue( | 1398 | 19.9k | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 19.9k | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 19.9k | Inst->hasTrace()); | 1401 | 19.9k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 19.9k | recordClonedInstruction(Inst, NewInst); | 1403 | 19.9k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 58.3k | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 58.3k | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 58.3k | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 58.3k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 58.3k | auto *NewInst = getBuilder().createDebugValue( | 1398 | 58.3k | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 58.3k | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 58.3k | Inst->hasTrace()); | 1401 | 58.3k | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 58.3k | recordClonedInstruction(Inst, NewInst); | 1403 | 58.3k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitDebugValueInstEPNS_14DebugValueInstE Line | Count | Source | 1387 | 77 | SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) { | 1388 | | // We cannot inline/clone debug intrinsics without a scope. If they | 1389 | | // describe function arguments there is no way to determine which | 1390 | | // function they belong to. | 1391 | 77 | if (!Inst->getDebugScope()) | 1392 | 0 | return; | 1393 | | | 1394 | | // Since we want the debug info to survive, we do not remap the location here. | 1395 | 77 | SILDebugVariable VarInfo = *Inst->getVarInfo(); | 1396 | 77 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1397 | 77 | auto *NewInst = getBuilder().createDebugValue( | 1398 | 77 | Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo, | 1399 | 77 | Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(), | 1400 | 77 | Inst->hasTrace()); | 1401 | 77 | remapDebugVarInfo(DebugVarCarryingInst(NewInst)); | 1402 | 77 | recordClonedInstruction(Inst, NewInst); | 1403 | 77 | } |
|
1404 | | template<typename ImplClass> |
1405 | | void |
1406 | 0 | SILCloner<ImplClass>::visitDebugStepInst(DebugStepInst *Inst) { |
1407 | 0 | recordClonedInstruction(Inst, getBuilder().createDebugStep(Inst->getLoc())); |
1408 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE18visitDebugStepInstEPNS_13DebugStepInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitDebugStepInstEPNS_13DebugStepInstE |
1409 | | |
1410 | | template <typename ImplClass> |
1411 | | void SILCloner<ImplClass>::visitUnownedCopyValueInst( |
1412 | 0 | UnownedCopyValueInst *Inst) { |
1413 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1414 | 0 | recordClonedInstruction( |
1415 | 0 | Inst, getBuilder().createUnownedCopyValue( |
1416 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); |
1417 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE |
1418 | | |
1419 | | template <typename ImplClass> |
1420 | 0 | void SILCloner<ImplClass>::visitWeakCopyValueInst(WeakCopyValueInst *Inst) { |
1421 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1422 | 0 | recordClonedInstruction( |
1423 | 0 | Inst, getBuilder().createWeakCopyValue(getOpLocation(Inst->getLoc()), |
1424 | 0 | getOpValue(Inst->getOperand()))); |
1425 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE |
1426 | | |
1427 | | #define COPYABLE_STORAGE_HELPER(Name, name) \ |
1428 | | template <typename ImplClass> \ |
1429 | | void SILCloner<ImplClass>::visitStrongCopy##Name##ValueInst( \ |
1430 | 25 | StrongCopy##Name##ValueInst *Inst) { \ |
1431 | 25 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ |
1432 | 25 | recordClonedInstruction(Inst, getBuilder().createStrongCopy##Name##Value( \ |
1433 | 25 | getOpLocation(Inst->getLoc()), \ |
1434 | 25 | getOpValue(Inst->getOperand()))); \ |
1435 | 25 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE _ZN5swift9SILClonerINS_13GenericClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Line | Count | Source | 1430 | 16 | StrongCopy##Name##ValueInst *Inst) { \ | 1431 | 16 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ | 1432 | 16 | recordClonedInstruction(Inst, getBuilder().createStrongCopy##Name##Value( \ | 1433 | 16 | getOpLocation(Inst->getLoc()), \ | 1434 | 16 | getOpValue(Inst->getOperand()))); \ | 1435 | 16 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE Line | Count | Source | 1430 | 9 | StrongCopy##Name##ValueInst *Inst) { \ | 1431 | 9 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ | 1432 | 9 | recordClonedInstruction(Inst, getBuilder().createStrongCopy##Name##Value( \ | 1433 | 9 | getOpLocation(Inst->getLoc()), \ | 1434 | 9 | getOpValue(Inst->getOperand()))); \ | 1435 | 9 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE |
1436 | | |
1437 | | #define LOADABLE_STORAGE_HELPER(Name, name) \ |
1438 | | template <typename ImplClass> \ |
1439 | 0 | void SILCloner<ImplClass>::visitLoad##Name##Inst(Load##Name##Inst *Inst) { \ |
1440 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ |
1441 | 0 | recordClonedInstruction( \ |
1442 | 0 | Inst, getBuilder().createLoad##Name(getOpLocation(Inst->getLoc()), \ |
1443 | 0 | getOpValue(Inst->getOperand()), \ |
1444 | 0 | Inst->isTake())); \ |
1445 | 0 | } \ Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE |
1446 | | template <typename ImplClass> \ |
1447 | 0 | void SILCloner<ImplClass>::visitStore##Name##Inst(Store##Name##Inst *Inst) { \ |
1448 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ |
1449 | 0 | recordClonedInstruction( \ |
1450 | 0 | Inst, getBuilder().createStore##Name(getOpLocation(Inst->getLoc()), \ |
1451 | 0 | getOpValue(Inst->getSrc()), \ |
1452 | 0 | getOpValue(Inst->getDest()), \ |
1453 | 0 | Inst->isInitializationOfDest())); \ |
1454 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE |
1455 | | #define LOADABLE_REF_STORAGE_HELPER(Name, name) \ |
1456 | | template <typename ImplClass> \ |
1457 | 24 | void SILCloner<ImplClass>::visitRefTo##Name##Inst(RefTo##Name##Inst *Inst) { \ |
1458 | 24 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ |
1459 | 24 | recordClonedInstruction( \ |
1460 | 24 | Inst, getBuilder().createRefTo##Name(getOpLocation(Inst->getLoc()), \ |
1461 | 24 | getOpValue(Inst->getOperand()), \ |
1462 | 24 | getOpType(Inst->getType()))); \ |
1463 | 24 | } \ Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE _ZN5swift9SILClonerINS_13GenericClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Line | Count | Source | 1457 | 16 | void SILCloner<ImplClass>::visitRefTo##Name##Inst(RefTo##Name##Inst *Inst) { \ | 1458 | 16 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ | 1459 | 16 | recordClonedInstruction( \ | 1460 | 16 | Inst, getBuilder().createRefTo##Name(getOpLocation(Inst->getLoc()), \ | 1461 | 16 | getOpValue(Inst->getOperand()), \ | 1462 | 16 | getOpType(Inst->getType()))); \ | 1463 | 16 | } \ |
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE Line | Count | Source | 1457 | 8 | void SILCloner<ImplClass>::visitRefTo##Name##Inst(RefTo##Name##Inst *Inst) { \ | 1458 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ | 1459 | 8 | recordClonedInstruction( \ | 1460 | 8 | Inst, getBuilder().createRefTo##Name(getOpLocation(Inst->getLoc()), \ | 1461 | 8 | getOpValue(Inst->getOperand()), \ | 1462 | 8 | getOpType(Inst->getType()))); \ | 1463 | 8 | } \ |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE |
1464 | | template <typename ImplClass> \ |
1465 | 0 | void SILCloner<ImplClass>::visit##Name##ToRefInst(Name##ToRefInst *Inst) { \ |
1466 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ |
1467 | 0 | recordClonedInstruction( \ |
1468 | 0 | Inst, getBuilder().create##Name##ToRef(getOpLocation(Inst->getLoc()), \ |
1469 | 0 | getOpValue(Inst->getOperand()), \ |
1470 | 0 | getOpType(Inst->getType()))); \ |
1471 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE |
1472 | | #define RETAINABLE_STORAGE_HELPER(Name, name) \ |
1473 | | template <typename ImplClass> \ |
1474 | | void SILCloner<ImplClass>::visitStrongRetain##Name##Inst( \ |
1475 | 0 | StrongRetain##Name##Inst *Inst) { \ |
1476 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ |
1477 | 0 | recordClonedInstruction(Inst, getBuilder().createStrongRetain##Name( \ |
1478 | 0 | getOpLocation(Inst->getLoc()), \ |
1479 | 0 | getOpValue(Inst->getOperand()), \ |
1480 | 0 | Inst->getAtomicity())); \ |
1481 | 0 | } \ Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE |
1482 | | template <typename ImplClass> \ |
1483 | 0 | void SILCloner<ImplClass>::visit##Name##RetainInst(Name##RetainInst *Inst) { \ |
1484 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ |
1485 | 0 | recordClonedInstruction(Inst, getBuilder().create##Name##Retain( \ |
1486 | 0 | getOpLocation(Inst->getLoc()), \ |
1487 | 0 | getOpValue(Inst->getOperand()), \ |
1488 | 0 | Inst->getAtomicity())); \ |
1489 | 0 | } \ Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE |
1490 | | template <typename ImplClass> \ |
1491 | | void SILCloner<ImplClass>::visit##Name##ReleaseInst( \ |
1492 | 0 | Name##ReleaseInst *Inst) { \ |
1493 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); \ |
1494 | 0 | recordClonedInstruction(Inst, getBuilder().create##Name##Release( \ |
1495 | 0 | getOpLocation(Inst->getLoc()), \ |
1496 | 0 | getOpValue(Inst->getOperand()), \ |
1497 | 0 | Inst->getAtomicity())); \ |
1498 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE |
1499 | | #define NEVER_LOADABLE_CHECKED_REF_STORAGE(Name, name, ...) \ |
1500 | | COPYABLE_STORAGE_HELPER(Name, name) \ |
1501 | | LOADABLE_STORAGE_HELPER(Name, name) |
1502 | | #define ALWAYS_LOADABLE_CHECKED_REF_STORAGE(Name, name, ...) \ |
1503 | | COPYABLE_STORAGE_HELPER(Name, name) \ |
1504 | | LOADABLE_REF_STORAGE_HELPER(Name, name) \ |
1505 | | RETAINABLE_STORAGE_HELPER(Name, name) |
1506 | | #define SOMETIMES_LOADABLE_CHECKED_REF_STORAGE(Name, name, ...) \ |
1507 | | COPYABLE_STORAGE_HELPER(Name, name) \ |
1508 | | LOADABLE_REF_STORAGE_HELPER(Name, name) \ |
1509 | | LOADABLE_STORAGE_HELPER(Name, name) \ |
1510 | | RETAINABLE_STORAGE_HELPER(Name, name) |
1511 | | #define UNCHECKED_REF_STORAGE(Name, name, ...) \ |
1512 | | COPYABLE_STORAGE_HELPER(Name, name) \ |
1513 | | LOADABLE_REF_STORAGE_HELPER(Name, name) |
1514 | | #include "swift/AST/ReferenceStorage.def" |
1515 | | #undef LOADABLE_STORAGE_HELPER |
1516 | | #undef LOADABLE_REF_STORAGE_HELPER |
1517 | | #undef COPYABLE_STORAGE_HELPER |
1518 | | #undef RETAINABLE_STORAGE_HELPER |
1519 | | |
1520 | | template<typename ImplClass> |
1521 | | void |
1522 | 31.0k | SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) { |
1523 | 31.0k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1524 | 31.0k | recordClonedInstruction( |
1525 | 31.0k | Inst, getBuilder().createCopyAddr( |
1526 | 31.0k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), |
1527 | 31.0k | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), |
1528 | 31.0k | Inst->isInitializationOfDest())); |
1529 | 31.0k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitCopyAddrInstEPNS_12CopyAddrInstE Line | Count | Source | 1522 | 62 | SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) { | 1523 | 62 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1524 | 62 | recordClonedInstruction( | 1525 | 62 | Inst, getBuilder().createCopyAddr( | 1526 | 62 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1527 | 62 | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), | 1528 | 62 | Inst->isInitializationOfDest())); | 1529 | 62 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitCopyAddrInstEPNS_12CopyAddrInstE Line | Count | Source | 1522 | 590 | SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) { | 1523 | 590 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1524 | 590 | recordClonedInstruction( | 1525 | 590 | Inst, getBuilder().createCopyAddr( | 1526 | 590 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1527 | 590 | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), | 1528 | 590 | Inst->isInitializationOfDest())); | 1529 | 590 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Line | Count | Source | 1522 | 4 | SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) { | 1523 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1524 | 4 | recordClonedInstruction( | 1525 | 4 | Inst, getBuilder().createCopyAddr( | 1526 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1527 | 4 | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), | 1528 | 4 | Inst->isInitializationOfDest())); | 1529 | 4 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Line | Count | Source | 1522 | 19 | SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) { | 1523 | 19 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1524 | 19 | recordClonedInstruction( | 1525 | 19 | Inst, getBuilder().createCopyAddr( | 1526 | 19 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1527 | 19 | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), | 1528 | 19 | Inst->isInitializationOfDest())); | 1529 | 19 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitCopyAddrInstEPNS_12CopyAddrInstE Line | Count | Source | 1522 | 4 | SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) { | 1523 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1524 | 4 | recordClonedInstruction( | 1525 | 4 | Inst, getBuilder().createCopyAddr( | 1526 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1527 | 4 | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), | 1528 | 4 | Inst->isInitializationOfDest())); | 1529 | 4 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Line | Count | Source | 1522 | 22 | SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) { | 1523 | 22 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1524 | 22 | recordClonedInstruction( | 1525 | 22 | Inst, getBuilder().createCopyAddr( | 1526 | 22 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1527 | 22 | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), | 1528 | 22 | Inst->isInitializationOfDest())); | 1529 | 22 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitCopyAddrInstEPNS_12CopyAddrInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Line | Count | Source | 1522 | 17 | SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) { | 1523 | 17 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1524 | 17 | recordClonedInstruction( | 1525 | 17 | Inst, getBuilder().createCopyAddr( | 1526 | 17 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1527 | 17 | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), | 1528 | 17 | Inst->isInitializationOfDest())); | 1529 | 17 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitCopyAddrInstEPNS_12CopyAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Line | Count | Source | 1522 | 17.1k | SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) { | 1523 | 17.1k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1524 | 17.1k | recordClonedInstruction( | 1525 | 17.1k | Inst, getBuilder().createCopyAddr( | 1526 | 17.1k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1527 | 17.1k | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), | 1528 | 17.1k | Inst->isInitializationOfDest())); | 1529 | 17.1k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE Line | Count | Source | 1522 | 13.2k | SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) { | 1523 | 13.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1524 | 13.2k | recordClonedInstruction( | 1525 | 13.2k | Inst, getBuilder().createCopyAddr( | 1526 | 13.2k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), | 1527 | 13.2k | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), | 1528 | 13.2k | Inst->isInitializationOfDest())); | 1529 | 13.2k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE |
1530 | | |
1531 | | template <typename ImplClass> |
1532 | | void SILCloner<ImplClass>::visitExplicitCopyAddrInst( |
1533 | 0 | ExplicitCopyAddrInst *Inst) { |
1534 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1535 | 0 | if (!getBuilder().hasOwnership()) { |
1536 | 0 | recordClonedInstruction( |
1537 | 0 | Inst, getBuilder().createCopyAddr( |
1538 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), |
1539 | 0 | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), |
1540 | 0 | Inst->isInitializationOfDest())); |
1541 | 0 | } else { |
1542 | | // preserve the explicit_* |
1543 | 0 | recordClonedInstruction( |
1544 | 0 | Inst, getBuilder().createExplicitCopyAddr( |
1545 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), |
1546 | 0 | getOpValue(Inst->getDest()), Inst->isTakeOfSrc(), |
1547 | 0 | Inst->isInitializationOfDest())); |
1548 | 0 | } |
1549 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE |
1550 | | |
1551 | | template <typename ImplClass> |
1552 | | void SILCloner<ImplClass>::visitMarkUnresolvedMoveAddrInst( |
1553 | 0 | MarkUnresolvedMoveAddrInst *Inst) { |
1554 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1555 | 0 | auto *MVI = getBuilder().createMarkUnresolvedMoveAddr( |
1556 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()), |
1557 | 0 | getOpValue(Inst->getDest())); |
1558 | 0 | recordClonedInstruction(Inst, MVI); |
1559 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE |
1560 | | |
1561 | | template<typename ImplClass> |
1562 | | void |
1563 | 6.12k | SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) { |
1564 | 6.12k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1565 | 6.12k | recordClonedInstruction( |
1566 | 6.12k | Inst, getBuilder().createBindMemory( |
1567 | 6.12k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()), |
1568 | 6.12k | getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType()))); |
1569 | 6.12k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitBindMemoryInstEPNS_14BindMemoryInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitBindMemoryInstEPNS_14BindMemoryInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Line | Count | Source | 1563 | 142 | SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) { | 1564 | 142 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1565 | 142 | recordClonedInstruction( | 1566 | 142 | Inst, getBuilder().createBindMemory( | 1567 | 142 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()), | 1568 | 142 | getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType()))); | 1569 | 142 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Line | Count | Source | 1563 | 1 | SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) { | 1564 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1565 | 1 | recordClonedInstruction( | 1566 | 1 | Inst, getBuilder().createBindMemory( | 1567 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()), | 1568 | 1 | getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType()))); | 1569 | 1 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Line | Count | Source | 1563 | 4 | SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) { | 1564 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1565 | 4 | recordClonedInstruction( | 1566 | 4 | Inst, getBuilder().createBindMemory( | 1567 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()), | 1568 | 4 | getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType()))); | 1569 | 4 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Line | Count | Source | 1563 | 184 | SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) { | 1564 | 184 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1565 | 184 | recordClonedInstruction( | 1566 | 184 | Inst, getBuilder().createBindMemory( | 1567 | 184 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()), | 1568 | 184 | getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType()))); | 1569 | 184 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitBindMemoryInstEPNS_14BindMemoryInstE Line | Count | Source | 1563 | 2 | SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) { | 1564 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1565 | 2 | recordClonedInstruction( | 1566 | 2 | Inst, getBuilder().createBindMemory( | 1567 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()), | 1568 | 2 | getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType()))); | 1569 | 2 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Line | Count | Source | 1563 | 12 | SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) { | 1564 | 12 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1565 | 12 | recordClonedInstruction( | 1566 | 12 | Inst, getBuilder().createBindMemory( | 1567 | 12 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()), | 1568 | 12 | getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType()))); | 1569 | 12 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitBindMemoryInstEPNS_14BindMemoryInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitBindMemoryInstEPNS_14BindMemoryInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Line | Count | Source | 1563 | 1.90k | SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) { | 1564 | 1.90k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1565 | 1.90k | recordClonedInstruction( | 1566 | 1.90k | Inst, getBuilder().createBindMemory( | 1567 | 1.90k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()), | 1568 | 1.90k | getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType()))); | 1569 | 1.90k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE Line | Count | Source | 1563 | 3.87k | SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) { | 1564 | 3.87k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1565 | 3.87k | recordClonedInstruction( | 1566 | 3.87k | Inst, getBuilder().createBindMemory( | 1567 | 3.87k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()), | 1568 | 3.87k | getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType()))); | 1569 | 3.87k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE |
1570 | | |
1571 | | template <typename ImplClass> |
1572 | 480 | void SILCloner<ImplClass>::visitRebindMemoryInst(RebindMemoryInst *Inst) { |
1573 | 480 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1574 | 480 | recordClonedInstruction( |
1575 | 480 | Inst, getBuilder().createRebindMemory(getOpLocation(Inst->getLoc()), |
1576 | 480 | getOpValue(Inst->getBase()), |
1577 | 480 | getOpValue(Inst->getInToken()))); |
1578 | 480 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Line | Count | Source | 1572 | 8 | void SILCloner<ImplClass>::visitRebindMemoryInst(RebindMemoryInst *Inst) { | 1573 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1574 | 8 | recordClonedInstruction( | 1575 | 8 | Inst, getBuilder().createRebindMemory(getOpLocation(Inst->getLoc()), | 1576 | 8 | getOpValue(Inst->getBase()), | 1577 | 8 | getOpValue(Inst->getInToken()))); | 1578 | 8 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Line | Count | Source | 1572 | 55 | void SILCloner<ImplClass>::visitRebindMemoryInst(RebindMemoryInst *Inst) { | 1573 | 55 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1574 | 55 | recordClonedInstruction( | 1575 | 55 | Inst, getBuilder().createRebindMemory(getOpLocation(Inst->getLoc()), | 1576 | 55 | getOpValue(Inst->getBase()), | 1577 | 55 | getOpValue(Inst->getInToken()))); | 1578 | 55 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE _ZN5swift9SILClonerINS_13GenericClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Line | Count | Source | 1572 | 75 | void SILCloner<ImplClass>::visitRebindMemoryInst(RebindMemoryInst *Inst) { | 1573 | 75 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1574 | 75 | recordClonedInstruction( | 1575 | 75 | Inst, getBuilder().createRebindMemory(getOpLocation(Inst->getLoc()), | 1576 | 75 | getOpValue(Inst->getBase()), | 1577 | 75 | getOpValue(Inst->getInToken()))); | 1578 | 75 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE Line | Count | Source | 1572 | 342 | void SILCloner<ImplClass>::visitRebindMemoryInst(RebindMemoryInst *Inst) { | 1573 | 342 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1574 | 342 | recordClonedInstruction( | 1575 | 342 | Inst, getBuilder().createRebindMemory(getOpLocation(Inst->getLoc()), | 1576 | 342 | getOpValue(Inst->getBase()), | 1577 | 342 | getOpValue(Inst->getInToken()))); | 1578 | 342 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE |
1579 | | |
1580 | | template<typename ImplClass> |
1581 | | void |
1582 | 1.20k | SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) { |
1583 | 1.20k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1584 | 1.20k | recordClonedInstruction( |
1585 | 1.20k | Inst, getBuilder().createConvertFunction( |
1586 | 1.20k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1587 | 1.20k | getOpType(Inst->getType()), Inst->withoutActuallyEscaping(), |
1588 | 1.20k | getBuilder().hasOwnership() |
1589 | 1.20k | ? Inst->getForwardingOwnershipKind() |
1590 | 1.20k | : ValueOwnershipKind(OwnershipKind::None))); |
1591 | 1.20k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Line | Count | Source | 1582 | 21 | SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) { | 1583 | 21 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1584 | 21 | recordClonedInstruction( | 1585 | 21 | Inst, getBuilder().createConvertFunction( | 1586 | 21 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1587 | 21 | getOpType(Inst->getType()), Inst->withoutActuallyEscaping(), | 1588 | 21 | getBuilder().hasOwnership() | 1589 | 21 | ? Inst->getForwardingOwnershipKind() | 1590 | 21 | : ValueOwnershipKind(OwnershipKind::None))); | 1591 | 21 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Line | Count | Source | 1582 | 39 | SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) { | 1583 | 39 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1584 | 39 | recordClonedInstruction( | 1585 | 39 | Inst, getBuilder().createConvertFunction( | 1586 | 39 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1587 | 39 | getOpType(Inst->getType()), Inst->withoutActuallyEscaping(), | 1588 | 39 | getBuilder().hasOwnership() | 1589 | 39 | ? Inst->getForwardingOwnershipKind() | 1590 | 39 | : ValueOwnershipKind(OwnershipKind::None))); | 1591 | 39 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Line | Count | Source | 1582 | 3 | SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) { | 1583 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1584 | 3 | recordClonedInstruction( | 1585 | 3 | Inst, getBuilder().createConvertFunction( | 1586 | 3 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1587 | 3 | getOpType(Inst->getType()), Inst->withoutActuallyEscaping(), | 1588 | 3 | getBuilder().hasOwnership() | 1589 | 3 | ? Inst->getForwardingOwnershipKind() | 1590 | 3 | : ValueOwnershipKind(OwnershipKind::None))); | 1591 | 3 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Line | Count | Source | 1582 | 4 | SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) { | 1583 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1584 | 4 | recordClonedInstruction( | 1585 | 4 | Inst, getBuilder().createConvertFunction( | 1586 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1587 | 4 | getOpType(Inst->getType()), Inst->withoutActuallyEscaping(), | 1588 | 4 | getBuilder().hasOwnership() | 1589 | 4 | ? Inst->getForwardingOwnershipKind() | 1590 | 4 | : ValueOwnershipKind(OwnershipKind::None))); | 1591 | 4 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Line | Count | Source | 1582 | 1 | SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) { | 1583 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1584 | 1 | recordClonedInstruction( | 1585 | 1 | Inst, getBuilder().createConvertFunction( | 1586 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1587 | 1 | getOpType(Inst->getType()), Inst->withoutActuallyEscaping(), | 1588 | 1 | getBuilder().hasOwnership() | 1589 | 1 | ? Inst->getForwardingOwnershipKind() | 1590 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 1591 | 1 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Line | Count | Source | 1582 | 20 | SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) { | 1583 | 20 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1584 | 20 | recordClonedInstruction( | 1585 | 20 | Inst, getBuilder().createConvertFunction( | 1586 | 20 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1587 | 20 | getOpType(Inst->getType()), Inst->withoutActuallyEscaping(), | 1588 | 20 | getBuilder().hasOwnership() | 1589 | 20 | ? Inst->getForwardingOwnershipKind() | 1590 | 20 | : ValueOwnershipKind(OwnershipKind::None))); | 1591 | 20 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE _ZN5swift9SILClonerINS_13GenericClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Line | Count | Source | 1582 | 776 | SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) { | 1583 | 776 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1584 | 776 | recordClonedInstruction( | 1585 | 776 | Inst, getBuilder().createConvertFunction( | 1586 | 776 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1587 | 776 | getOpType(Inst->getType()), Inst->withoutActuallyEscaping(), | 1588 | 776 | getBuilder().hasOwnership() | 1589 | 776 | ? Inst->getForwardingOwnershipKind() | 1590 | 776 | : ValueOwnershipKind(OwnershipKind::None))); | 1591 | 776 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Line | Count | Source | 1582 | 336 | SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) { | 1583 | 336 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1584 | 336 | recordClonedInstruction( | 1585 | 336 | Inst, getBuilder().createConvertFunction( | 1586 | 336 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1587 | 336 | getOpType(Inst->getType()), Inst->withoutActuallyEscaping(), | 1588 | 336 | getBuilder().hasOwnership() | 1589 | 336 | ? Inst->getForwardingOwnershipKind() | 1590 | 336 | : ValueOwnershipKind(OwnershipKind::None))); | 1591 | 336 | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE Line | Count | Source | 1582 | 2 | SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) { | 1583 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1584 | 2 | recordClonedInstruction( | 1585 | 2 | Inst, getBuilder().createConvertFunction( | 1586 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1587 | 2 | getOpType(Inst->getType()), Inst->withoutActuallyEscaping(), | 1588 | 2 | getBuilder().hasOwnership() | 1589 | 2 | ? Inst->getForwardingOwnershipKind() | 1590 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 1591 | 2 | } |
|
1592 | | |
1593 | | template <typename ImplClass> |
1594 | | void SILCloner<ImplClass>::visitConvertEscapeToNoEscapeInst( |
1595 | 364 | ConvertEscapeToNoEscapeInst *Inst) { |
1596 | 364 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1597 | 364 | recordClonedInstruction( |
1598 | 364 | Inst, getBuilder().createConvertEscapeToNoEscape( |
1599 | 364 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1600 | 364 | getOpType(Inst->getType()), Inst->isLifetimeGuaranteed())); |
1601 | 364 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Line | Count | Source | 1595 | 30 | ConvertEscapeToNoEscapeInst *Inst) { | 1596 | 30 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1597 | 30 | recordClonedInstruction( | 1598 | 30 | Inst, getBuilder().createConvertEscapeToNoEscape( | 1599 | 30 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1600 | 30 | getOpType(Inst->getType()), Inst->isLifetimeGuaranteed())); | 1601 | 30 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Line | Count | Source | 1595 | 49 | ConvertEscapeToNoEscapeInst *Inst) { | 1596 | 49 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1597 | 49 | recordClonedInstruction( | 1598 | 49 | Inst, getBuilder().createConvertEscapeToNoEscape( | 1599 | 49 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1600 | 49 | getOpType(Inst->getType()), Inst->isLifetimeGuaranteed())); | 1601 | 49 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Line | Count | Source | 1595 | 3 | ConvertEscapeToNoEscapeInst *Inst) { | 1596 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1597 | 3 | recordClonedInstruction( | 1598 | 3 | Inst, getBuilder().createConvertEscapeToNoEscape( | 1599 | 3 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1600 | 3 | getOpType(Inst->getType()), Inst->isLifetimeGuaranteed())); | 1601 | 3 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Line | Count | Source | 1595 | 8 | ConvertEscapeToNoEscapeInst *Inst) { | 1596 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1597 | 8 | recordClonedInstruction( | 1598 | 8 | Inst, getBuilder().createConvertEscapeToNoEscape( | 1599 | 8 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1600 | 8 | getOpType(Inst->getType()), Inst->isLifetimeGuaranteed())); | 1601 | 8 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Line | Count | Source | 1595 | 4 | ConvertEscapeToNoEscapeInst *Inst) { | 1596 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1597 | 4 | recordClonedInstruction( | 1598 | 4 | Inst, getBuilder().createConvertEscapeToNoEscape( | 1599 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1600 | 4 | getOpType(Inst->getType()), Inst->isLifetimeGuaranteed())); | 1601 | 4 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE _ZN5swift9SILClonerINS_13GenericClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Line | Count | Source | 1595 | 262 | ConvertEscapeToNoEscapeInst *Inst) { | 1596 | 262 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1597 | 262 | recordClonedInstruction( | 1598 | 262 | Inst, getBuilder().createConvertEscapeToNoEscape( | 1599 | 262 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1600 | 262 | getOpType(Inst->getType()), Inst->isLifetimeGuaranteed())); | 1601 | 262 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE Line | Count | Source | 1595 | 8 | ConvertEscapeToNoEscapeInst *Inst) { | 1596 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1597 | 8 | recordClonedInstruction( | 1598 | 8 | Inst, getBuilder().createConvertEscapeToNoEscape( | 1599 | 8 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1600 | 8 | getOpType(Inst->getType()), Inst->isLifetimeGuaranteed())); | 1601 | 8 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE |
1602 | | |
1603 | | template<typename ImplClass> |
1604 | | void |
1605 | 4.63k | SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) { |
1606 | 4.63k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1607 | 4.63k | recordClonedInstruction( |
1608 | 4.63k | Inst, getBuilder().createUpcast( |
1609 | 4.63k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1610 | 4.63k | getOpType(Inst->getType()), |
1611 | 4.63k | getBuilder().hasOwnership() |
1612 | 4.63k | ? Inst->getForwardingOwnershipKind() |
1613 | 4.63k | : ValueOwnershipKind(OwnershipKind::None))); |
1614 | 4.63k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitUpcastInstEPNS_10UpcastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitUpcastInstEPNS_10UpcastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitUpcastInstEPNS_10UpcastInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitUpcastInstEPNS_10UpcastInstE Line | Count | Source | 1605 | 2 | SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) { | 1606 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1607 | 2 | recordClonedInstruction( | 1608 | 2 | Inst, getBuilder().createUpcast( | 1609 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1610 | 2 | getOpType(Inst->getType()), | 1611 | 2 | getBuilder().hasOwnership() | 1612 | 2 | ? Inst->getForwardingOwnershipKind() | 1613 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 1614 | 2 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitUpcastInstEPNS_10UpcastInstE Line | Count | Source | 1605 | 8 | SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) { | 1606 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1607 | 8 | recordClonedInstruction( | 1608 | 8 | Inst, getBuilder().createUpcast( | 1609 | 8 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1610 | 8 | getOpType(Inst->getType()), | 1611 | 8 | getBuilder().hasOwnership() | 1612 | 8 | ? Inst->getForwardingOwnershipKind() | 1613 | 8 | : ValueOwnershipKind(OwnershipKind::None))); | 1614 | 8 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitUpcastInstEPNS_10UpcastInstE Line | Count | Source | 1605 | 76 | SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) { | 1606 | 76 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1607 | 76 | recordClonedInstruction( | 1608 | 76 | Inst, getBuilder().createUpcast( | 1609 | 76 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1610 | 76 | getOpType(Inst->getType()), | 1611 | 76 | getBuilder().hasOwnership() | 1612 | 76 | ? Inst->getForwardingOwnershipKind() | 1613 | 76 | : ValueOwnershipKind(OwnershipKind::None))); | 1614 | 76 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitUpcastInstEPNS_10UpcastInstE Line | Count | Source | 1605 | 3 | SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) { | 1606 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1607 | 3 | recordClonedInstruction( | 1608 | 3 | Inst, getBuilder().createUpcast( | 1609 | 3 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1610 | 3 | getOpType(Inst->getType()), | 1611 | 3 | getBuilder().hasOwnership() | 1612 | 3 | ? Inst->getForwardingOwnershipKind() | 1613 | 3 | : ValueOwnershipKind(OwnershipKind::None))); | 1614 | 3 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitUpcastInstEPNS_10UpcastInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitUpcastInstEPNS_10UpcastInstE Line | Count | Source | 1605 | 37 | SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) { | 1606 | 37 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1607 | 37 | recordClonedInstruction( | 1608 | 37 | Inst, getBuilder().createUpcast( | 1609 | 37 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1610 | 37 | getOpType(Inst->getType()), | 1611 | 37 | getBuilder().hasOwnership() | 1612 | 37 | ? Inst->getForwardingOwnershipKind() | 1613 | 37 | : ValueOwnershipKind(OwnershipKind::None))); | 1614 | 37 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitUpcastInstEPNS_10UpcastInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitUpcastInstEPNS_10UpcastInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitUpcastInstEPNS_10UpcastInstE Line | Count | Source | 1605 | 6 | SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) { | 1606 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1607 | 6 | recordClonedInstruction( | 1608 | 6 | Inst, getBuilder().createUpcast( | 1609 | 6 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1610 | 6 | getOpType(Inst->getType()), | 1611 | 6 | getBuilder().hasOwnership() | 1612 | 6 | ? Inst->getForwardingOwnershipKind() | 1613 | 6 | : ValueOwnershipKind(OwnershipKind::None))); | 1614 | 6 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitUpcastInstEPNS_10UpcastInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitUpcastInstEPNS_10UpcastInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitUpcastInstEPNS_10UpcastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitUpcastInstEPNS_10UpcastInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitUpcastInstEPNS_10UpcastInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitUpcastInstEPNS_10UpcastInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitUpcastInstEPNS_10UpcastInstE _ZN5swift9SILClonerINS_13GenericClonerEE15visitUpcastInstEPNS_10UpcastInstE Line | Count | Source | 1605 | 2.32k | SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) { | 1606 | 2.32k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1607 | 2.32k | recordClonedInstruction( | 1608 | 2.32k | Inst, getBuilder().createUpcast( | 1609 | 2.32k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1610 | 2.32k | getOpType(Inst->getType()), | 1611 | 2.32k | getBuilder().hasOwnership() | 1612 | 2.32k | ? Inst->getForwardingOwnershipKind() | 1613 | 2.32k | : ValueOwnershipKind(OwnershipKind::None))); | 1614 | 2.32k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE15visitUpcastInstEPNS_10UpcastInstE Line | Count | Source | 1605 | 2.17k | SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) { | 1606 | 2.17k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1607 | 2.17k | recordClonedInstruction( | 1608 | 2.17k | Inst, getBuilder().createUpcast( | 1609 | 2.17k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1610 | 2.17k | getOpType(Inst->getType()), | 1611 | 2.17k | getBuilder().hasOwnership() | 1612 | 2.17k | ? Inst->getForwardingOwnershipKind() | 1613 | 2.17k | : ValueOwnershipKind(OwnershipKind::None))); | 1614 | 2.17k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitUpcastInstEPNS_10UpcastInstE Line | Count | Source | 1605 | 2 | SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) { | 1606 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1607 | 2 | recordClonedInstruction( | 1608 | 2 | Inst, getBuilder().createUpcast( | 1609 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1610 | 2 | getOpType(Inst->getType()), | 1611 | 2 | getBuilder().hasOwnership() | 1612 | 2 | ? Inst->getForwardingOwnershipKind() | 1613 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 1614 | 2 | } |
|
1615 | | |
1616 | | template<typename ImplClass> |
1617 | | void |
1618 | 11.3k | SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) { |
1619 | 11.3k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1620 | 11.3k | recordClonedInstruction( |
1621 | 11.3k | Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()), |
1622 | 11.3k | getOpValue(Inst->getOperand()), |
1623 | 11.3k | getOpType(Inst->getType()), |
1624 | 11.3k | Inst->needsStackProtection())); |
1625 | 11.3k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Line | Count | Source | 1618 | 1 | SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) { | 1619 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1620 | 1 | recordClonedInstruction( | 1621 | 1 | Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()), | 1622 | 1 | getOpValue(Inst->getOperand()), | 1623 | 1 | getOpType(Inst->getType()), | 1624 | 1 | Inst->needsStackProtection())); | 1625 | 1 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Line | Count | Source | 1618 | 24 | SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) { | 1619 | 24 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1620 | 24 | recordClonedInstruction( | 1621 | 24 | Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()), | 1622 | 24 | getOpValue(Inst->getOperand()), | 1623 | 24 | getOpType(Inst->getType()), | 1624 | 24 | Inst->needsStackProtection())); | 1625 | 24 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Line | Count | Source | 1618 | 2 | SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) { | 1619 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1620 | 2 | recordClonedInstruction( | 1621 | 2 | Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()), | 1622 | 2 | getOpValue(Inst->getOperand()), | 1623 | 2 | getOpType(Inst->getType()), | 1624 | 2 | Inst->needsStackProtection())); | 1625 | 2 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Line | Count | Source | 1618 | 310 | SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) { | 1619 | 310 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1620 | 310 | recordClonedInstruction( | 1621 | 310 | Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()), | 1622 | 310 | getOpValue(Inst->getOperand()), | 1623 | 310 | getOpType(Inst->getType()), | 1624 | 310 | Inst->needsStackProtection())); | 1625 | 310 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE _ZN5swift9SILClonerINS_13GenericClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Line | Count | Source | 1618 | 5.29k | SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) { | 1619 | 5.29k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1620 | 5.29k | recordClonedInstruction( | 1621 | 5.29k | Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()), | 1622 | 5.29k | getOpValue(Inst->getOperand()), | 1623 | 5.29k | getOpType(Inst->getType()), | 1624 | 5.29k | Inst->needsStackProtection())); | 1625 | 5.29k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Line | Count | Source | 1618 | 5.72k | SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) { | 1619 | 5.72k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1620 | 5.72k | recordClonedInstruction( | 1621 | 5.72k | Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()), | 1622 | 5.72k | getOpValue(Inst->getOperand()), | 1623 | 5.72k | getOpType(Inst->getType()), | 1624 | 5.72k | Inst->needsStackProtection())); | 1625 | 5.72k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE Line | Count | Source | 1618 | 16 | SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) { | 1619 | 16 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1620 | 16 | recordClonedInstruction( | 1621 | 16 | Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()), | 1622 | 16 | getOpValue(Inst->getOperand()), | 1623 | 16 | getOpType(Inst->getType()), | 1624 | 16 | Inst->needsStackProtection())); | 1625 | 16 | } |
|
1626 | | |
1627 | | template<typename ImplClass> |
1628 | | void |
1629 | 22.7k | SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) { |
1630 | 22.7k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1631 | 22.7k | recordClonedInstruction( |
1632 | 22.7k | Inst, getBuilder().createPointerToAddress( |
1633 | 22.7k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1634 | 22.7k | getOpType(Inst->getType()), Inst->isStrict(), |
1635 | 22.7k | Inst->isInvariant(), Inst->alignment())); |
1636 | 22.7k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Line | Count | Source | 1629 | 66 | SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) { | 1630 | 66 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1631 | 66 | recordClonedInstruction( | 1632 | 66 | Inst, getBuilder().createPointerToAddress( | 1633 | 66 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1634 | 66 | getOpType(Inst->getType()), Inst->isStrict(), | 1635 | 66 | Inst->isInvariant(), Inst->alignment())); | 1636 | 66 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Line | Count | Source | 1629 | 17 | SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) { | 1630 | 17 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1631 | 17 | recordClonedInstruction( | 1632 | 17 | Inst, getBuilder().createPointerToAddress( | 1633 | 17 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1634 | 17 | getOpType(Inst->getType()), Inst->isStrict(), | 1635 | 17 | Inst->isInvariant(), Inst->alignment())); | 1636 | 17 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Line | Count | Source | 1629 | 7 | SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) { | 1630 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1631 | 7 | recordClonedInstruction( | 1632 | 7 | Inst, getBuilder().createPointerToAddress( | 1633 | 7 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1634 | 7 | getOpType(Inst->getType()), Inst->isStrict(), | 1635 | 7 | Inst->isInvariant(), Inst->alignment())); | 1636 | 7 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Line | Count | Source | 1629 | 232 | SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) { | 1630 | 232 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1631 | 232 | recordClonedInstruction( | 1632 | 232 | Inst, getBuilder().createPointerToAddress( | 1633 | 232 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1634 | 232 | getOpType(Inst->getType()), Inst->isStrict(), | 1635 | 232 | Inst->isInvariant(), Inst->alignment())); | 1636 | 232 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Line | Count | Source | 1629 | 36 | SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) { | 1630 | 36 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1631 | 36 | recordClonedInstruction( | 1632 | 36 | Inst, getBuilder().createPointerToAddress( | 1633 | 36 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1634 | 36 | getOpType(Inst->getType()), Inst->isStrict(), | 1635 | 36 | Inst->isInvariant(), Inst->alignment())); | 1636 | 36 | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Line | Count | Source | 1629 | 2 | SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) { | 1630 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1631 | 2 | recordClonedInstruction( | 1632 | 2 | Inst, getBuilder().createPointerToAddress( | 1633 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1634 | 2 | getOpType(Inst->getType()), Inst->isStrict(), | 1635 | 2 | Inst->isInvariant(), Inst->alignment())); | 1636 | 2 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE _ZN5swift9SILClonerINS_13GenericClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Line | Count | Source | 1629 | 2.36k | SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) { | 1630 | 2.36k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1631 | 2.36k | recordClonedInstruction( | 1632 | 2.36k | Inst, getBuilder().createPointerToAddress( | 1633 | 2.36k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1634 | 2.36k | getOpType(Inst->getType()), Inst->isStrict(), | 1635 | 2.36k | Inst->isInvariant(), Inst->alignment())); | 1636 | 2.36k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Line | Count | Source | 1629 | 19.9k | SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) { | 1630 | 19.9k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1631 | 19.9k | recordClonedInstruction( | 1632 | 19.9k | Inst, getBuilder().createPointerToAddress( | 1633 | 19.9k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1634 | 19.9k | getOpType(Inst->getType()), Inst->isStrict(), | 1635 | 19.9k | Inst->isInvariant(), Inst->alignment())); | 1636 | 19.9k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE Line | Count | Source | 1629 | 43 | SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) { | 1630 | 43 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1631 | 43 | recordClonedInstruction( | 1632 | 43 | Inst, getBuilder().createPointerToAddress( | 1633 | 43 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1634 | 43 | getOpType(Inst->getType()), Inst->isStrict(), | 1635 | 43 | Inst->isInvariant(), Inst->alignment())); | 1636 | 43 | } |
|
1637 | | |
1638 | | template<typename ImplClass> |
1639 | | void |
1640 | | SILCloner<ImplClass>:: |
1641 | 11.0k | visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) { |
1642 | 11.0k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1643 | 11.0k | recordClonedInstruction( |
1644 | 11.0k | Inst, getBuilder().createUncheckedRefCast( |
1645 | 11.0k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1646 | 11.0k | getOpType(Inst->getType()), |
1647 | 11.0k | getBuilder().hasOwnership() |
1648 | 11.0k | ? Inst->getForwardingOwnershipKind() |
1649 | 11.0k | : ValueOwnershipKind(OwnershipKind::None))); |
1650 | 11.0k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Line | Count | Source | 1641 | 2 | visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) { | 1642 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1643 | 2 | recordClonedInstruction( | 1644 | 2 | Inst, getBuilder().createUncheckedRefCast( | 1645 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1646 | 2 | getOpType(Inst->getType()), | 1647 | 2 | getBuilder().hasOwnership() | 1648 | 2 | ? Inst->getForwardingOwnershipKind() | 1649 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 1650 | 2 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Line | Count | Source | 1641 | 23 | visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) { | 1642 | 23 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1643 | 23 | recordClonedInstruction( | 1644 | 23 | Inst, getBuilder().createUncheckedRefCast( | 1645 | 23 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1646 | 23 | getOpType(Inst->getType()), | 1647 | 23 | getBuilder().hasOwnership() | 1648 | 23 | ? Inst->getForwardingOwnershipKind() | 1649 | 23 | : ValueOwnershipKind(OwnershipKind::None))); | 1650 | 23 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Line | Count | Source | 1641 | 4 | visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) { | 1642 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1643 | 4 | recordClonedInstruction( | 1644 | 4 | Inst, getBuilder().createUncheckedRefCast( | 1645 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1646 | 4 | getOpType(Inst->getType()), | 1647 | 4 | getBuilder().hasOwnership() | 1648 | 4 | ? Inst->getForwardingOwnershipKind() | 1649 | 4 | : ValueOwnershipKind(OwnershipKind::None))); | 1650 | 4 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Line | Count | Source | 1641 | 199 | visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) { | 1642 | 199 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1643 | 199 | recordClonedInstruction( | 1644 | 199 | Inst, getBuilder().createUncheckedRefCast( | 1645 | 199 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1646 | 199 | getOpType(Inst->getType()), | 1647 | 199 | getBuilder().hasOwnership() | 1648 | 199 | ? Inst->getForwardingOwnershipKind() | 1649 | 199 | : ValueOwnershipKind(OwnershipKind::None))); | 1650 | 199 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Line | Count | Source | 1641 | 3 | visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) { | 1642 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1643 | 3 | recordClonedInstruction( | 1644 | 3 | Inst, getBuilder().createUncheckedRefCast( | 1645 | 3 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1646 | 3 | getOpType(Inst->getType()), | 1647 | 3 | getBuilder().hasOwnership() | 1648 | 3 | ? Inst->getForwardingOwnershipKind() | 1649 | 3 | : ValueOwnershipKind(OwnershipKind::None))); | 1650 | 3 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE _ZN5swift9SILClonerINS_13GenericClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Line | Count | Source | 1641 | 5.15k | visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) { | 1642 | 5.15k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1643 | 5.15k | recordClonedInstruction( | 1644 | 5.15k | Inst, getBuilder().createUncheckedRefCast( | 1645 | 5.15k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1646 | 5.15k | getOpType(Inst->getType()), | 1647 | 5.15k | getBuilder().hasOwnership() | 1648 | 5.15k | ? Inst->getForwardingOwnershipKind() | 1649 | 5.15k | : ValueOwnershipKind(OwnershipKind::None))); | 1650 | 5.15k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Line | Count | Source | 1641 | 5.63k | visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) { | 1642 | 5.63k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1643 | 5.63k | recordClonedInstruction( | 1644 | 5.63k | Inst, getBuilder().createUncheckedRefCast( | 1645 | 5.63k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1646 | 5.63k | getOpType(Inst->getType()), | 1647 | 5.63k | getBuilder().hasOwnership() | 1648 | 5.63k | ? Inst->getForwardingOwnershipKind() | 1649 | 5.63k | : ValueOwnershipKind(OwnershipKind::None))); | 1650 | 5.63k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE Line | Count | Source | 1641 | 4 | visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) { | 1642 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1643 | 4 | recordClonedInstruction( | 1644 | 4 | Inst, getBuilder().createUncheckedRefCast( | 1645 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1646 | 4 | getOpType(Inst->getType()), | 1647 | 4 | getBuilder().hasOwnership() | 1648 | 4 | ? Inst->getForwardingOwnershipKind() | 1649 | 4 | : ValueOwnershipKind(OwnershipKind::None))); | 1650 | 4 | } |
|
1651 | | |
1652 | | template<typename ImplClass> |
1653 | | void |
1654 | | SILCloner<ImplClass>:: |
1655 | 0 | visitUncheckedRefCastAddrInst(UncheckedRefCastAddrInst *Inst) { |
1656 | 0 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); |
1657 | 0 | SILValue SrcValue = getOpValue(Inst->getSrc()); |
1658 | 0 | SILValue DestValue = getOpValue(Inst->getDest()); |
1659 | 0 | CanType SrcType = getOpASTType(Inst->getSourceFormalType()); |
1660 | 0 | CanType TargetType = getOpASTType(Inst->getTargetFormalType()); |
1661 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1662 | 0 | recordClonedInstruction( |
1663 | 0 | Inst, getBuilder().createUncheckedRefCastAddr(OpLoc, SrcValue, SrcType, |
1664 | 0 | DestValue, TargetType)); |
1665 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE |
1666 | | |
1667 | | template<typename ImplClass> |
1668 | | void |
1669 | | SILCloner<ImplClass>:: |
1670 | 2.02k | visitUncheckedAddrCastInst(UncheckedAddrCastInst *Inst) { |
1671 | 2.02k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1672 | 2.02k | recordClonedInstruction( |
1673 | 2.02k | Inst, getBuilder().createUncheckedAddrCast(getOpLocation(Inst->getLoc()), |
1674 | 2.02k | getOpValue(Inst->getOperand()), |
1675 | 2.02k | getOpType(Inst->getType()))); |
1676 | 2.02k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Line | Count | Source | 1670 | 5 | visitUncheckedAddrCastInst(UncheckedAddrCastInst *Inst) { | 1671 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1672 | 5 | recordClonedInstruction( | 1673 | 5 | Inst, getBuilder().createUncheckedAddrCast(getOpLocation(Inst->getLoc()), | 1674 | 5 | getOpValue(Inst->getOperand()), | 1675 | 5 | getOpType(Inst->getType()))); | 1676 | 5 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Line | Count | Source | 1670 | 18 | visitUncheckedAddrCastInst(UncheckedAddrCastInst *Inst) { | 1671 | 18 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1672 | 18 | recordClonedInstruction( | 1673 | 18 | Inst, getBuilder().createUncheckedAddrCast(getOpLocation(Inst->getLoc()), | 1674 | 18 | getOpValue(Inst->getOperand()), | 1675 | 18 | getOpType(Inst->getType()))); | 1676 | 18 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE _ZN5swift9SILClonerINS_13GenericClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Line | Count | Source | 1670 | 1.33k | visitUncheckedAddrCastInst(UncheckedAddrCastInst *Inst) { | 1671 | 1.33k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1672 | 1.33k | recordClonedInstruction( | 1673 | 1.33k | Inst, getBuilder().createUncheckedAddrCast(getOpLocation(Inst->getLoc()), | 1674 | 1.33k | getOpValue(Inst->getOperand()), | 1675 | 1.33k | getOpType(Inst->getType()))); | 1676 | 1.33k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE Line | Count | Source | 1670 | 668 | visitUncheckedAddrCastInst(UncheckedAddrCastInst *Inst) { | 1671 | 668 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1672 | 668 | recordClonedInstruction( | 1673 | 668 | Inst, getBuilder().createUncheckedAddrCast(getOpLocation(Inst->getLoc()), | 1674 | 668 | getOpValue(Inst->getOperand()), | 1675 | 668 | getOpType(Inst->getType()))); | 1676 | 668 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE |
1677 | | |
1678 | | template<typename ImplClass> |
1679 | | void |
1680 | | SILCloner<ImplClass>:: |
1681 | 24.6k | visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) { |
1682 | 24.6k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1683 | 24.6k | recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast( |
1684 | 24.6k | getOpLocation(Inst->getLoc()), |
1685 | 24.6k | getOpValue(Inst->getOperand()), |
1686 | 24.6k | getOpType(Inst->getType()))); |
1687 | 24.6k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Line | Count | Source | 1681 | 106 | visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) { | 1682 | 106 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1683 | 106 | recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast( | 1684 | 106 | getOpLocation(Inst->getLoc()), | 1685 | 106 | getOpValue(Inst->getOperand()), | 1686 | 106 | getOpType(Inst->getType()))); | 1687 | 106 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Line | Count | Source | 1681 | 3 | visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) { | 1682 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1683 | 3 | recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast( | 1684 | 3 | getOpLocation(Inst->getLoc()), | 1685 | 3 | getOpValue(Inst->getOperand()), | 1686 | 3 | getOpType(Inst->getType()))); | 1687 | 3 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Line | Count | Source | 1681 | 2 | visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) { | 1682 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1683 | 2 | recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast( | 1684 | 2 | getOpLocation(Inst->getLoc()), | 1685 | 2 | getOpValue(Inst->getOperand()), | 1686 | 2 | getOpType(Inst->getType()))); | 1687 | 2 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Line | Count | Source | 1681 | 247 | visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) { | 1682 | 247 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1683 | 247 | recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast( | 1684 | 247 | getOpLocation(Inst->getLoc()), | 1685 | 247 | getOpValue(Inst->getOperand()), | 1686 | 247 | getOpType(Inst->getType()))); | 1687 | 247 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Line | Count | Source | 1681 | 2 | visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) { | 1682 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1683 | 2 | recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast( | 1684 | 2 | getOpLocation(Inst->getLoc()), | 1685 | 2 | getOpValue(Inst->getOperand()), | 1686 | 2 | getOpType(Inst->getType()))); | 1687 | 2 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Line | Count | Source | 1681 | 10 | visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) { | 1682 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1683 | 10 | recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast( | 1684 | 10 | getOpLocation(Inst->getLoc()), | 1685 | 10 | getOpValue(Inst->getOperand()), | 1686 | 10 | getOpType(Inst->getType()))); | 1687 | 10 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE _ZN5swift9SILClonerINS_13GenericClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Line | Count | Source | 1681 | 1.48k | visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) { | 1682 | 1.48k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1683 | 1.48k | recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast( | 1684 | 1.48k | getOpLocation(Inst->getLoc()), | 1685 | 1.48k | getOpValue(Inst->getOperand()), | 1686 | 1.48k | getOpType(Inst->getType()))); | 1687 | 1.48k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Line | Count | Source | 1681 | 22.8k | visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) { | 1682 | 22.8k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1683 | 22.8k | recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast( | 1684 | 22.8k | getOpLocation(Inst->getLoc()), | 1685 | 22.8k | getOpValue(Inst->getOperand()), | 1686 | 22.8k | getOpType(Inst->getType()))); | 1687 | 22.8k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE Line | Count | Source | 1681 | 1 | visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) { | 1682 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1683 | 1 | recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast( | 1684 | 1 | getOpLocation(Inst->getLoc()), | 1685 | 1 | getOpValue(Inst->getOperand()), | 1686 | 1 | getOpType(Inst->getType()))); | 1687 | 1 | } |
|
1688 | | |
1689 | | template<typename ImplClass> |
1690 | | void |
1691 | | SILCloner<ImplClass>:: |
1692 | 2.55k | visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) { |
1693 | 2.55k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1694 | 2.55k | recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast( |
1695 | 2.55k | getOpLocation(Inst->getLoc()), |
1696 | 2.55k | getOpValue(Inst->getOperand()), |
1697 | 2.55k | getOpType(Inst->getType()))); |
1698 | 2.55k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Line | Count | Source | 1692 | 88 | visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) { | 1693 | 88 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1694 | 88 | recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast( | 1695 | 88 | getOpLocation(Inst->getLoc()), | 1696 | 88 | getOpValue(Inst->getOperand()), | 1697 | 88 | getOpType(Inst->getType()))); | 1698 | 88 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Line | Count | Source | 1692 | 25 | visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) { | 1693 | 25 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1694 | 25 | recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast( | 1695 | 25 | getOpLocation(Inst->getLoc()), | 1696 | 25 | getOpValue(Inst->getOperand()), | 1697 | 25 | getOpType(Inst->getType()))); | 1698 | 25 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Line | Count | Source | 1692 | 6 | visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) { | 1693 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1694 | 6 | recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast( | 1695 | 6 | getOpLocation(Inst->getLoc()), | 1696 | 6 | getOpValue(Inst->getOperand()), | 1697 | 6 | getOpType(Inst->getType()))); | 1698 | 6 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE _ZN5swift9SILClonerINS_13GenericClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Line | Count | Source | 1692 | 930 | visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) { | 1693 | 930 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1694 | 930 | recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast( | 1695 | 930 | getOpLocation(Inst->getLoc()), | 1696 | 930 | getOpValue(Inst->getOperand()), | 1697 | 930 | getOpType(Inst->getType()))); | 1698 | 930 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE Line | Count | Source | 1692 | 1.50k | visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) { | 1693 | 1.50k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1694 | 1.50k | recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast( | 1695 | 1.50k | getOpLocation(Inst->getLoc()), | 1696 | 1.50k | getOpValue(Inst->getOperand()), | 1697 | 1.50k | getOpType(Inst->getType()))); | 1698 | 1.50k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE |
1699 | | |
1700 | | template <typename ImplClass> |
1701 | | void SILCloner<ImplClass>::visitUncheckedValueCastInst( |
1702 | 0 | UncheckedValueCastInst *Inst) { |
1703 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1704 | 0 | if (!getBuilder().hasOwnership()) { |
1705 | 0 | recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast( |
1706 | 0 | getOpLocation(Inst->getLoc()), |
1707 | 0 | getOpValue(Inst->getOperand()), |
1708 | 0 | getOpType(Inst->getType()))); |
1709 | 0 | return; |
1710 | 0 | } |
1711 | 0 | recordClonedInstruction( |
1712 | 0 | Inst, getBuilder().createUncheckedValueCast( |
1713 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1714 | 0 | getOpType(Inst->getType()), |
1715 | 0 | getBuilder().hasOwnership() |
1716 | 0 | ? Inst->getForwardingOwnershipKind() |
1717 | 0 | : ValueOwnershipKind(OwnershipKind::None))); |
1718 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE |
1719 | | |
1720 | | template<typename ImplClass> |
1721 | | void |
1722 | | SILCloner<ImplClass>:: |
1723 | 2 | visitRefToBridgeObjectInst(RefToBridgeObjectInst *Inst) { |
1724 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1725 | 2 | recordClonedInstruction( |
1726 | 2 | Inst, getBuilder().createRefToBridgeObject( |
1727 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand(0)), |
1728 | 2 | getOpValue(Inst->getBitsOperand()), |
1729 | 2 | getBuilder().hasOwnership() |
1730 | 2 | ? Inst->getForwardingOwnershipKind() |
1731 | 2 | : ValueOwnershipKind(OwnershipKind::None))); |
1732 | 2 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE _ZN5swift9SILClonerINS_13GenericClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Line | Count | Source | 1723 | 1 | visitRefToBridgeObjectInst(RefToBridgeObjectInst *Inst) { | 1724 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1725 | 1 | recordClonedInstruction( | 1726 | 1 | Inst, getBuilder().createRefToBridgeObject( | 1727 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand(0)), | 1728 | 1 | getOpValue(Inst->getBitsOperand()), | 1729 | 1 | getBuilder().hasOwnership() | 1730 | 1 | ? Inst->getForwardingOwnershipKind() | 1731 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 1732 | 1 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE Line | Count | Source | 1723 | 1 | visitRefToBridgeObjectInst(RefToBridgeObjectInst *Inst) { | 1724 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1725 | 1 | recordClonedInstruction( | 1726 | 1 | Inst, getBuilder().createRefToBridgeObject( | 1727 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand(0)), | 1728 | 1 | getOpValue(Inst->getBitsOperand()), | 1729 | 1 | getBuilder().hasOwnership() | 1730 | 1 | ? Inst->getForwardingOwnershipKind() | 1731 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 1732 | 1 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE |
1733 | | |
1734 | | template<typename ImplClass> |
1735 | | void |
1736 | | SILCloner<ImplClass>:: |
1737 | 4.57k | visitBridgeObjectToRefInst(BridgeObjectToRefInst *Inst) { |
1738 | 4.57k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1739 | 4.57k | recordClonedInstruction( |
1740 | 4.57k | Inst, getBuilder().createBridgeObjectToRef( |
1741 | 4.57k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1742 | 4.57k | getOpType(Inst->getType()), |
1743 | 4.57k | getBuilder().hasOwnership() |
1744 | 4.57k | ? Inst->getForwardingOwnershipKind() |
1745 | 4.57k | : ValueOwnershipKind(OwnershipKind::None))); |
1746 | 4.57k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Line | Count | Source | 1737 | 1 | visitBridgeObjectToRefInst(BridgeObjectToRefInst *Inst) { | 1738 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1739 | 1 | recordClonedInstruction( | 1740 | 1 | Inst, getBuilder().createBridgeObjectToRef( | 1741 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1742 | 1 | getOpType(Inst->getType()), | 1743 | 1 | getBuilder().hasOwnership() | 1744 | 1 | ? Inst->getForwardingOwnershipKind() | 1745 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 1746 | 1 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Line | Count | Source | 1737 | 6 | visitBridgeObjectToRefInst(BridgeObjectToRefInst *Inst) { | 1738 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1739 | 6 | recordClonedInstruction( | 1740 | 6 | Inst, getBuilder().createBridgeObjectToRef( | 1741 | 6 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1742 | 6 | getOpType(Inst->getType()), | 1743 | 6 | getBuilder().hasOwnership() | 1744 | 6 | ? Inst->getForwardingOwnershipKind() | 1745 | 6 | : ValueOwnershipKind(OwnershipKind::None))); | 1746 | 6 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE _ZN5swift9SILClonerINS_13GenericClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Line | Count | Source | 1737 | 4.07k | visitBridgeObjectToRefInst(BridgeObjectToRefInst *Inst) { | 1738 | 4.07k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1739 | 4.07k | recordClonedInstruction( | 1740 | 4.07k | Inst, getBuilder().createBridgeObjectToRef( | 1741 | 4.07k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1742 | 4.07k | getOpType(Inst->getType()), | 1743 | 4.07k | getBuilder().hasOwnership() | 1744 | 4.07k | ? Inst->getForwardingOwnershipKind() | 1745 | 4.07k | : ValueOwnershipKind(OwnershipKind::None))); | 1746 | 4.07k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE Line | Count | Source | 1737 | 498 | visitBridgeObjectToRefInst(BridgeObjectToRefInst *Inst) { | 1738 | 498 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1739 | 498 | recordClonedInstruction( | 1740 | 498 | Inst, getBuilder().createBridgeObjectToRef( | 1741 | 498 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1742 | 498 | getOpType(Inst->getType()), | 1743 | 498 | getBuilder().hasOwnership() | 1744 | 498 | ? Inst->getForwardingOwnershipKind() | 1745 | 498 | : ValueOwnershipKind(OwnershipKind::None))); | 1746 | 498 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE |
1747 | | |
1748 | | template<typename ImplClass> |
1749 | | void |
1750 | | SILCloner<ImplClass>:: |
1751 | 8.49k | visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) { |
1752 | 8.49k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1753 | 8.49k | recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord( |
1754 | 8.49k | getOpLocation(Inst->getLoc()), |
1755 | 8.49k | getOpValue(Inst->getOperand()), |
1756 | 8.49k | getOpType(Inst->getType()))); |
1757 | 8.49k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Line | Count | Source | 1751 | 8 | visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) { | 1752 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1753 | 8 | recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord( | 1754 | 8 | getOpLocation(Inst->getLoc()), | 1755 | 8 | getOpValue(Inst->getOperand()), | 1756 | 8 | getOpType(Inst->getType()))); | 1757 | 8 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Line | Count | Source | 1751 | 107 | visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) { | 1752 | 107 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1753 | 107 | recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord( | 1754 | 107 | getOpLocation(Inst->getLoc()), | 1755 | 107 | getOpValue(Inst->getOperand()), | 1756 | 107 | getOpType(Inst->getType()))); | 1757 | 107 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE _ZN5swift9SILClonerINS_13GenericClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Line | Count | Source | 1751 | 4.96k | visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) { | 1752 | 4.96k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1753 | 4.96k | recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord( | 1754 | 4.96k | getOpLocation(Inst->getLoc()), | 1755 | 4.96k | getOpValue(Inst->getOperand()), | 1756 | 4.96k | getOpType(Inst->getType()))); | 1757 | 4.96k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Line | Count | Source | 1751 | 3.41k | visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) { | 1752 | 3.41k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1753 | 3.41k | recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord( | 1754 | 3.41k | getOpLocation(Inst->getLoc()), | 1755 | 3.41k | getOpValue(Inst->getOperand()), | 1756 | 3.41k | getOpType(Inst->getType()))); | 1757 | 3.41k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE Line | Count | Source | 1751 | 3 | visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) { | 1752 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1753 | 3 | recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord( | 1754 | 3 | getOpLocation(Inst->getLoc()), | 1755 | 3 | getOpValue(Inst->getOperand()), | 1756 | 3 | getOpType(Inst->getType()))); | 1757 | 3 | } |
|
1758 | | |
1759 | | template<typename ImplClass> |
1760 | | void |
1761 | 1.59k | SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) { |
1762 | 1.59k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1763 | 1.59k | recordClonedInstruction( |
1764 | 1.59k | Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()), |
1765 | 1.59k | getOpValue(Inst->getOperand()), |
1766 | 1.59k | getOpType(Inst->getType()))); |
1767 | 1.59k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Line | Count | Source | 1761 | 58 | SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) { | 1762 | 58 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1763 | 58 | recordClonedInstruction( | 1764 | 58 | Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()), | 1765 | 58 | getOpValue(Inst->getOperand()), | 1766 | 58 | getOpType(Inst->getType()))); | 1767 | 58 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Line | Count | Source | 1761 | 6 | SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) { | 1762 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1763 | 6 | recordClonedInstruction( | 1764 | 6 | Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()), | 1765 | 6 | getOpValue(Inst->getOperand()), | 1766 | 6 | getOpType(Inst->getType()))); | 1767 | 6 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Line | Count | Source | 1761 | 4 | SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) { | 1762 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1763 | 4 | recordClonedInstruction( | 1764 | 4 | Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()), | 1765 | 4 | getOpValue(Inst->getOperand()), | 1766 | 4 | getOpType(Inst->getType()))); | 1767 | 4 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE _ZN5swift9SILClonerINS_13GenericClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Line | Count | Source | 1761 | 725 | SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) { | 1762 | 725 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1763 | 725 | recordClonedInstruction( | 1764 | 725 | Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()), | 1765 | 725 | getOpValue(Inst->getOperand()), | 1766 | 725 | getOpType(Inst->getType()))); | 1767 | 725 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Line | Count | Source | 1761 | 785 | SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) { | 1762 | 785 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1763 | 785 | recordClonedInstruction( | 1764 | 785 | Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()), | 1765 | 785 | getOpValue(Inst->getOperand()), | 1766 | 785 | getOpType(Inst->getType()))); | 1767 | 785 | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE Line | Count | Source | 1761 | 13 | SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) { | 1762 | 13 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1763 | 13 | recordClonedInstruction( | 1764 | 13 | Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()), | 1765 | 13 | getOpValue(Inst->getOperand()), | 1766 | 13 | getOpType(Inst->getType()))); | 1767 | 13 | } |
|
1768 | | |
1769 | | template <typename ImplClass> |
1770 | | void SILCloner<ImplClass>::visitValueToBridgeObjectInst( |
1771 | 27.6k | ValueToBridgeObjectInst *Inst) { |
1772 | 27.6k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1773 | 27.6k | recordClonedInstruction( |
1774 | 27.6k | Inst, getBuilder().createValueToBridgeObject( |
1775 | 27.6k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); |
1776 | 27.6k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Line | Count | Source | 1771 | 4 | ValueToBridgeObjectInst *Inst) { | 1772 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1773 | 4 | recordClonedInstruction( | 1774 | 4 | Inst, getBuilder().createValueToBridgeObject( | 1775 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 1776 | 4 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Line | Count | Source | 1771 | 125 | ValueToBridgeObjectInst *Inst) { | 1772 | 125 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1773 | 125 | recordClonedInstruction( | 1774 | 125 | Inst, getBuilder().createValueToBridgeObject( | 1775 | 125 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 1776 | 125 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Line | Count | Source | 1771 | 85 | ValueToBridgeObjectInst *Inst) { | 1772 | 85 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1773 | 85 | recordClonedInstruction( | 1774 | 85 | Inst, getBuilder().createValueToBridgeObject( | 1775 | 85 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 1776 | 85 | } |
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE _ZN5swift9SILClonerINS_13GenericClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Line | Count | Source | 1771 | 69 | ValueToBridgeObjectInst *Inst) { | 1772 | 69 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1773 | 69 | recordClonedInstruction( | 1774 | 69 | Inst, getBuilder().createValueToBridgeObject( | 1775 | 69 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 1776 | 69 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE Line | Count | Source | 1771 | 27.3k | ValueToBridgeObjectInst *Inst) { | 1772 | 27.3k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1773 | 27.3k | recordClonedInstruction( | 1774 | 27.3k | Inst, getBuilder().createValueToBridgeObject( | 1775 | 27.3k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 1776 | 27.3k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE |
1777 | | |
1778 | | template<typename ImplClass> |
1779 | | void |
1780 | 2.22k | SILCloner<ImplClass>::visitRawPointerToRefInst(RawPointerToRefInst *Inst) { |
1781 | 2.22k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1782 | 2.22k | recordClonedInstruction( |
1783 | 2.22k | Inst, getBuilder().createRawPointerToRef(getOpLocation(Inst->getLoc()), |
1784 | 2.22k | getOpValue(Inst->getOperand()), |
1785 | 2.22k | getOpType(Inst->getType()))); |
1786 | 2.22k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Line | Count | Source | 1780 | 1 | SILCloner<ImplClass>::visitRawPointerToRefInst(RawPointerToRefInst *Inst) { | 1781 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1782 | 1 | recordClonedInstruction( | 1783 | 1 | Inst, getBuilder().createRawPointerToRef(getOpLocation(Inst->getLoc()), | 1784 | 1 | getOpValue(Inst->getOperand()), | 1785 | 1 | getOpType(Inst->getType()))); | 1786 | 1 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Line | Count | Source | 1780 | 44 | SILCloner<ImplClass>::visitRawPointerToRefInst(RawPointerToRefInst *Inst) { | 1781 | 44 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1782 | 44 | recordClonedInstruction( | 1783 | 44 | Inst, getBuilder().createRawPointerToRef(getOpLocation(Inst->getLoc()), | 1784 | 44 | getOpValue(Inst->getOperand()), | 1785 | 44 | getOpType(Inst->getType()))); | 1786 | 44 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE _ZN5swift9SILClonerINS_13GenericClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Line | Count | Source | 1780 | 1.08k | SILCloner<ImplClass>::visitRawPointerToRefInst(RawPointerToRefInst *Inst) { | 1781 | 1.08k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1782 | 1.08k | recordClonedInstruction( | 1783 | 1.08k | Inst, getBuilder().createRawPointerToRef(getOpLocation(Inst->getLoc()), | 1784 | 1.08k | getOpValue(Inst->getOperand()), | 1785 | 1.08k | getOpType(Inst->getType()))); | 1786 | 1.08k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE Line | Count | Source | 1780 | 1.09k | SILCloner<ImplClass>::visitRawPointerToRefInst(RawPointerToRefInst *Inst) { | 1781 | 1.09k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1782 | 1.09k | recordClonedInstruction( | 1783 | 1.09k | Inst, getBuilder().createRawPointerToRef(getOpLocation(Inst->getLoc()), | 1784 | 1.09k | getOpValue(Inst->getOperand()), | 1785 | 1.09k | getOpType(Inst->getType()))); | 1786 | 1.09k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE |
1787 | | |
1788 | | template<typename ImplClass> |
1789 | | void |
1790 | | SILCloner<ImplClass>:: |
1791 | 1.12k | visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) { |
1792 | 1.12k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1793 | 1.12k | recordClonedInstruction( |
1794 | 1.12k | Inst, getBuilder().createThinToThickFunction( |
1795 | 1.12k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1796 | 1.12k | getOpType(Inst->getType()), |
1797 | 1.12k | getBuilder().hasOwnership() |
1798 | 1.12k | ? Inst->getForwardingOwnershipKind() |
1799 | 1.12k | : ValueOwnershipKind(OwnershipKind::None))); |
1800 | 1.12k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Line | Count | Source | 1791 | 21 | visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) { | 1792 | 21 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1793 | 21 | recordClonedInstruction( | 1794 | 21 | Inst, getBuilder().createThinToThickFunction( | 1795 | 21 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1796 | 21 | getOpType(Inst->getType()), | 1797 | 21 | getBuilder().hasOwnership() | 1798 | 21 | ? Inst->getForwardingOwnershipKind() | 1799 | 21 | : ValueOwnershipKind(OwnershipKind::None))); | 1800 | 21 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Line | Count | Source | 1791 | 47 | visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) { | 1792 | 47 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1793 | 47 | recordClonedInstruction( | 1794 | 47 | Inst, getBuilder().createThinToThickFunction( | 1795 | 47 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1796 | 47 | getOpType(Inst->getType()), | 1797 | 47 | getBuilder().hasOwnership() | 1798 | 47 | ? Inst->getForwardingOwnershipKind() | 1799 | 47 | : ValueOwnershipKind(OwnershipKind::None))); | 1800 | 47 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Line | Count | Source | 1791 | 4 | visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) { | 1792 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1793 | 4 | recordClonedInstruction( | 1794 | 4 | Inst, getBuilder().createThinToThickFunction( | 1795 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1796 | 4 | getOpType(Inst->getType()), | 1797 | 4 | getBuilder().hasOwnership() | 1798 | 4 | ? Inst->getForwardingOwnershipKind() | 1799 | 4 | : ValueOwnershipKind(OwnershipKind::None))); | 1800 | 4 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Line | Count | Source | 1791 | 68 | visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) { | 1792 | 68 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1793 | 68 | recordClonedInstruction( | 1794 | 68 | Inst, getBuilder().createThinToThickFunction( | 1795 | 68 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1796 | 68 | getOpType(Inst->getType()), | 1797 | 68 | getBuilder().hasOwnership() | 1798 | 68 | ? Inst->getForwardingOwnershipKind() | 1799 | 68 | : ValueOwnershipKind(OwnershipKind::None))); | 1800 | 68 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Line | Count | Source | 1791 | 1 | visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) { | 1792 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1793 | 1 | recordClonedInstruction( | 1794 | 1 | Inst, getBuilder().createThinToThickFunction( | 1795 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1796 | 1 | getOpType(Inst->getType()), | 1797 | 1 | getBuilder().hasOwnership() | 1798 | 1 | ? Inst->getForwardingOwnershipKind() | 1799 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 1800 | 1 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Line | Count | Source | 1791 | 77 | visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) { | 1792 | 77 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1793 | 77 | recordClonedInstruction( | 1794 | 77 | Inst, getBuilder().createThinToThickFunction( | 1795 | 77 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1796 | 77 | getOpType(Inst->getType()), | 1797 | 77 | getBuilder().hasOwnership() | 1798 | 77 | ? Inst->getForwardingOwnershipKind() | 1799 | 77 | : ValueOwnershipKind(OwnershipKind::None))); | 1800 | 77 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Line | Count | Source | 1791 | 1 | visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) { | 1792 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1793 | 1 | recordClonedInstruction( | 1794 | 1 | Inst, getBuilder().createThinToThickFunction( | 1795 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1796 | 1 | getOpType(Inst->getType()), | 1797 | 1 | getBuilder().hasOwnership() | 1798 | 1 | ? Inst->getForwardingOwnershipKind() | 1799 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 1800 | 1 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE _ZN5swift9SILClonerINS_13GenericClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Line | Count | Source | 1791 | 106 | visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) { | 1792 | 106 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1793 | 106 | recordClonedInstruction( | 1794 | 106 | Inst, getBuilder().createThinToThickFunction( | 1795 | 106 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1796 | 106 | getOpType(Inst->getType()), | 1797 | 106 | getBuilder().hasOwnership() | 1798 | 106 | ? Inst->getForwardingOwnershipKind() | 1799 | 106 | : ValueOwnershipKind(OwnershipKind::None))); | 1800 | 106 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE Line | Count | Source | 1791 | 803 | visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) { | 1792 | 803 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1793 | 803 | recordClonedInstruction( | 1794 | 803 | Inst, getBuilder().createThinToThickFunction( | 1795 | 803 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 1796 | 803 | getOpType(Inst->getType()), | 1797 | 803 | getBuilder().hasOwnership() | 1798 | 803 | ? Inst->getForwardingOwnershipKind() | 1799 | 803 | : ValueOwnershipKind(OwnershipKind::None))); | 1800 | 803 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE |
1801 | | |
1802 | | template<typename ImplClass> |
1803 | | void |
1804 | | SILCloner<ImplClass>:: |
1805 | 25 | visitThickToObjCMetatypeInst(ThickToObjCMetatypeInst *Inst) { |
1806 | 25 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1807 | 25 | recordClonedInstruction(Inst, getBuilder().createThickToObjCMetatype( |
1808 | 25 | getOpLocation(Inst->getLoc()), |
1809 | 25 | getOpValue(Inst->getOperand()), |
1810 | 25 | getOpType(Inst->getType()))); |
1811 | 25 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE Line | Count | Source | 1805 | 25 | visitThickToObjCMetatypeInst(ThickToObjCMetatypeInst *Inst) { | 1806 | 25 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1807 | 25 | recordClonedInstruction(Inst, getBuilder().createThickToObjCMetatype( | 1808 | 25 | getOpLocation(Inst->getLoc()), | 1809 | 25 | getOpValue(Inst->getOperand()), | 1810 | 25 | getOpType(Inst->getType()))); | 1811 | 25 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE |
1812 | | |
1813 | | template<typename ImplClass> |
1814 | | void |
1815 | | SILCloner<ImplClass>:: |
1816 | 0 | visitObjCToThickMetatypeInst(ObjCToThickMetatypeInst *Inst) { |
1817 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1818 | 0 | recordClonedInstruction(Inst, getBuilder().createObjCToThickMetatype( |
1819 | 0 | getOpLocation(Inst->getLoc()), |
1820 | 0 | getOpValue(Inst->getOperand()), |
1821 | 0 | getOpType(Inst->getType()))); |
1822 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE |
1823 | | |
1824 | | template<typename ImplClass> |
1825 | | void |
1826 | | SILCloner<ImplClass>::visitUnconditionalCheckedCastInst( |
1827 | 364 | UnconditionalCheckedCastInst *Inst) { |
1828 | 364 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); |
1829 | 364 | SILValue OpValue = getOpValue(Inst->getOperand()); |
1830 | 364 | SILType OpLoweredType = getOpType(Inst->getTargetLoweredType()); |
1831 | 364 | CanType OpFormalType = getOpASTType(Inst->getTargetFormalType()); |
1832 | 364 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1833 | 364 | recordClonedInstruction(Inst, |
1834 | 364 | getBuilder().createUnconditionalCheckedCast( |
1835 | 364 | OpLoc, OpValue, OpLoweredType, OpFormalType, |
1836 | 364 | getBuilder().hasOwnership() |
1837 | 364 | ? Inst->getForwardingOwnershipKind() |
1838 | 364 | : ValueOwnershipKind(OwnershipKind::None))); |
1839 | 364 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Line | Count | Source | 1827 | 21 | UnconditionalCheckedCastInst *Inst) { | 1828 | 21 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); | 1829 | 21 | SILValue OpValue = getOpValue(Inst->getOperand()); | 1830 | 21 | SILType OpLoweredType = getOpType(Inst->getTargetLoweredType()); | 1831 | 21 | CanType OpFormalType = getOpASTType(Inst->getTargetFormalType()); | 1832 | 21 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1833 | 21 | recordClonedInstruction(Inst, | 1834 | 21 | getBuilder().createUnconditionalCheckedCast( | 1835 | 21 | OpLoc, OpValue, OpLoweredType, OpFormalType, | 1836 | 21 | getBuilder().hasOwnership() | 1837 | 21 | ? Inst->getForwardingOwnershipKind() | 1838 | 21 | : ValueOwnershipKind(OwnershipKind::None))); | 1839 | 21 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Line | Count | Source | 1827 | 6 | UnconditionalCheckedCastInst *Inst) { | 1828 | 6 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); | 1829 | 6 | SILValue OpValue = getOpValue(Inst->getOperand()); | 1830 | 6 | SILType OpLoweredType = getOpType(Inst->getTargetLoweredType()); | 1831 | 6 | CanType OpFormalType = getOpASTType(Inst->getTargetFormalType()); | 1832 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1833 | 6 | recordClonedInstruction(Inst, | 1834 | 6 | getBuilder().createUnconditionalCheckedCast( | 1835 | 6 | OpLoc, OpValue, OpLoweredType, OpFormalType, | 1836 | 6 | getBuilder().hasOwnership() | 1837 | 6 | ? Inst->getForwardingOwnershipKind() | 1838 | 6 | : ValueOwnershipKind(OwnershipKind::None))); | 1839 | 6 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Line | Count | Source | 1827 | 2 | UnconditionalCheckedCastInst *Inst) { | 1828 | 2 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); | 1829 | 2 | SILValue OpValue = getOpValue(Inst->getOperand()); | 1830 | 2 | SILType OpLoweredType = getOpType(Inst->getTargetLoweredType()); | 1831 | 2 | CanType OpFormalType = getOpASTType(Inst->getTargetFormalType()); | 1832 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1833 | 2 | recordClonedInstruction(Inst, | 1834 | 2 | getBuilder().createUnconditionalCheckedCast( | 1835 | 2 | OpLoc, OpValue, OpLoweredType, OpFormalType, | 1836 | 2 | getBuilder().hasOwnership() | 1837 | 2 | ? Inst->getForwardingOwnershipKind() | 1838 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 1839 | 2 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE _ZN5swift9SILClonerINS_13GenericClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Line | Count | Source | 1827 | 291 | UnconditionalCheckedCastInst *Inst) { | 1828 | 291 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); | 1829 | 291 | SILValue OpValue = getOpValue(Inst->getOperand()); | 1830 | 291 | SILType OpLoweredType = getOpType(Inst->getTargetLoweredType()); | 1831 | 291 | CanType OpFormalType = getOpASTType(Inst->getTargetFormalType()); | 1832 | 291 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1833 | 291 | recordClonedInstruction(Inst, | 1834 | 291 | getBuilder().createUnconditionalCheckedCast( | 1835 | 291 | OpLoc, OpValue, OpLoweredType, OpFormalType, | 1836 | 291 | getBuilder().hasOwnership() | 1837 | 291 | ? Inst->getForwardingOwnershipKind() | 1838 | 291 | : ValueOwnershipKind(OwnershipKind::None))); | 1839 | 291 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE Line | Count | Source | 1827 | 44 | UnconditionalCheckedCastInst *Inst) { | 1828 | 44 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); | 1829 | 44 | SILValue OpValue = getOpValue(Inst->getOperand()); | 1830 | 44 | SILType OpLoweredType = getOpType(Inst->getTargetLoweredType()); | 1831 | 44 | CanType OpFormalType = getOpASTType(Inst->getTargetFormalType()); | 1832 | 44 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1833 | 44 | recordClonedInstruction(Inst, | 1834 | 44 | getBuilder().createUnconditionalCheckedCast( | 1835 | 44 | OpLoc, OpValue, OpLoweredType, OpFormalType, | 1836 | 44 | getBuilder().hasOwnership() | 1837 | 44 | ? Inst->getForwardingOwnershipKind() | 1838 | 44 | : ValueOwnershipKind(OwnershipKind::None))); | 1839 | 44 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE |
1840 | | |
1841 | | template<typename ImplClass> |
1842 | | void |
1843 | | SILCloner<ImplClass>::visitUnconditionalCheckedCastAddrInst( |
1844 | 40 | UnconditionalCheckedCastAddrInst *Inst) { |
1845 | 40 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); |
1846 | 40 | SILValue SrcValue = getOpValue(Inst->getSrc()); |
1847 | 40 | SILValue DestValue = getOpValue(Inst->getDest()); |
1848 | 40 | CanType SrcType = getOpASTType(Inst->getSourceFormalType()); |
1849 | 40 | CanType TargetType = getOpASTType(Inst->getTargetFormalType()); |
1850 | 40 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1851 | 40 | recordClonedInstruction(Inst, |
1852 | 40 | getBuilder().createUnconditionalCheckedCastAddr( |
1853 | 40 | OpLoc, SrcValue, SrcType, DestValue, TargetType)); |
1854 | 40 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Line | Count | Source | 1844 | 1 | UnconditionalCheckedCastAddrInst *Inst) { | 1845 | 1 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); | 1846 | 1 | SILValue SrcValue = getOpValue(Inst->getSrc()); | 1847 | 1 | SILValue DestValue = getOpValue(Inst->getDest()); | 1848 | 1 | CanType SrcType = getOpASTType(Inst->getSourceFormalType()); | 1849 | 1 | CanType TargetType = getOpASTType(Inst->getTargetFormalType()); | 1850 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1851 | 1 | recordClonedInstruction(Inst, | 1852 | 1 | getBuilder().createUnconditionalCheckedCastAddr( | 1853 | 1 | OpLoc, SrcValue, SrcType, DestValue, TargetType)); | 1854 | 1 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Line | Count | Source | 1844 | 4 | UnconditionalCheckedCastAddrInst *Inst) { | 1845 | 4 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); | 1846 | 4 | SILValue SrcValue = getOpValue(Inst->getSrc()); | 1847 | 4 | SILValue DestValue = getOpValue(Inst->getDest()); | 1848 | 4 | CanType SrcType = getOpASTType(Inst->getSourceFormalType()); | 1849 | 4 | CanType TargetType = getOpASTType(Inst->getTargetFormalType()); | 1850 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1851 | 4 | recordClonedInstruction(Inst, | 1852 | 4 | getBuilder().createUnconditionalCheckedCastAddr( | 1853 | 4 | OpLoc, SrcValue, SrcType, DestValue, TargetType)); | 1854 | 4 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Line | Count | Source | 1844 | 9 | UnconditionalCheckedCastAddrInst *Inst) { | 1845 | 9 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); | 1846 | 9 | SILValue SrcValue = getOpValue(Inst->getSrc()); | 1847 | 9 | SILValue DestValue = getOpValue(Inst->getDest()); | 1848 | 9 | CanType SrcType = getOpASTType(Inst->getSourceFormalType()); | 1849 | 9 | CanType TargetType = getOpASTType(Inst->getTargetFormalType()); | 1850 | 9 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1851 | 9 | recordClonedInstruction(Inst, | 1852 | 9 | getBuilder().createUnconditionalCheckedCastAddr( | 1853 | 9 | OpLoc, SrcValue, SrcType, DestValue, TargetType)); | 1854 | 9 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE Line | Count | Source | 1844 | 26 | UnconditionalCheckedCastAddrInst *Inst) { | 1845 | 26 | SILLocation OpLoc = getOpLocation(Inst->getLoc()); | 1846 | 26 | SILValue SrcValue = getOpValue(Inst->getSrc()); | 1847 | 26 | SILValue DestValue = getOpValue(Inst->getDest()); | 1848 | 26 | CanType SrcType = getOpASTType(Inst->getSourceFormalType()); | 1849 | 26 | CanType TargetType = getOpASTType(Inst->getTargetFormalType()); | 1850 | 26 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1851 | 26 | recordClonedInstruction(Inst, | 1852 | 26 | getBuilder().createUnconditionalCheckedCastAddr( | 1853 | 26 | OpLoc, SrcValue, SrcType, DestValue, TargetType)); | 1854 | 26 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE |
1855 | | |
1856 | | template <typename ImplClass> |
1857 | 1.80k | void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) { |
1858 | 1.80k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1859 | 1.80k | recordClonedInstruction( |
1860 | 1.80k | Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()), |
1861 | 1.80k | getOpValue(Inst->getOperand()), |
1862 | 1.80k | Inst->getAtomicity())); |
1863 | 1.80k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitRetainValueInstEPNS_15RetainValueInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Line | Count | Source | 1857 | 29 | void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) { | 1858 | 29 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1859 | 29 | recordClonedInstruction( | 1860 | 29 | Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()), | 1861 | 29 | getOpValue(Inst->getOperand()), | 1862 | 29 | Inst->getAtomicity())); | 1863 | 29 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Line | Count | Source | 1857 | 83 | void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) { | 1858 | 83 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1859 | 83 | recordClonedInstruction( | 1860 | 83 | Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()), | 1861 | 83 | getOpValue(Inst->getOperand()), | 1862 | 83 | Inst->getAtomicity())); | 1863 | 83 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Line | Count | Source | 1857 | 7 | void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) { | 1858 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1859 | 7 | recordClonedInstruction( | 1860 | 7 | Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()), | 1861 | 7 | getOpValue(Inst->getOperand()), | 1862 | 7 | Inst->getAtomicity())); | 1863 | 7 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Line | Count | Source | 1857 | 177 | void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) { | 1858 | 177 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1859 | 177 | recordClonedInstruction( | 1860 | 177 | Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()), | 1861 | 177 | getOpValue(Inst->getOperand()), | 1862 | 177 | Inst->getAtomicity())); | 1863 | 177 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitRetainValueInstEPNS_15RetainValueInstE _ZN5swift9SILClonerINS_13GenericClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Line | Count | Source | 1857 | 584 | void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) { | 1858 | 584 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1859 | 584 | recordClonedInstruction( | 1860 | 584 | Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()), | 1861 | 584 | getOpValue(Inst->getOperand()), | 1862 | 584 | Inst->getAtomicity())); | 1863 | 584 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitRetainValueInstEPNS_15RetainValueInstE Line | Count | Source | 1857 | 922 | void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) { | 1858 | 922 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1859 | 922 | recordClonedInstruction( | 1860 | 922 | Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()), | 1861 | 922 | getOpValue(Inst->getOperand()), | 1862 | 922 | Inst->getAtomicity())); | 1863 | 922 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitRetainValueInstEPNS_15RetainValueInstE |
1864 | | |
1865 | | template <typename ImplClass> |
1866 | 0 | void SILCloner<ImplClass>::visitRetainValueAddrInst(RetainValueAddrInst *Inst) { |
1867 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1868 | 0 | recordClonedInstruction( |
1869 | 0 | Inst, getBuilder().createRetainValueAddr(getOpLocation(Inst->getLoc()), |
1870 | 0 | getOpValue(Inst->getOperand()), |
1871 | 0 | Inst->getAtomicity())); |
1872 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE |
1873 | | |
1874 | | template <typename ImplClass> |
1875 | | void SILCloner<ImplClass>::visitUnmanagedRetainValueInst( |
1876 | 8 | UnmanagedRetainValueInst *Inst) { |
1877 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1878 | 8 | if (!getBuilder().hasOwnership()) { |
1879 | 0 | return recordClonedInstruction( |
1880 | 0 | Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()), |
1881 | 0 | getOpValue(Inst->getOperand()), |
1882 | 0 | Inst->getAtomicity())); |
1883 | 0 | } |
1884 | | |
1885 | 8 | recordClonedInstruction(Inst, getBuilder().createUnmanagedRetainValue( |
1886 | 8 | getOpLocation(Inst->getLoc()), |
1887 | 8 | getOpValue(Inst->getOperand()), |
1888 | 8 | Inst->getAtomicity())); |
1889 | 8 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE _ZN5swift9SILClonerINS_13GenericClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Line | Count | Source | 1876 | 3 | UnmanagedRetainValueInst *Inst) { | 1877 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1878 | 3 | if (!getBuilder().hasOwnership()) { | 1879 | 0 | return recordClonedInstruction( | 1880 | 0 | Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()), | 1881 | 0 | getOpValue(Inst->getOperand()), | 1882 | 0 | Inst->getAtomicity())); | 1883 | 0 | } | 1884 | | | 1885 | 3 | recordClonedInstruction(Inst, getBuilder().createUnmanagedRetainValue( | 1886 | 3 | getOpLocation(Inst->getLoc()), | 1887 | 3 | getOpValue(Inst->getOperand()), | 1888 | 3 | Inst->getAtomicity())); | 1889 | 3 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE Line | Count | Source | 1876 | 5 | UnmanagedRetainValueInst *Inst) { | 1877 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1878 | 5 | if (!getBuilder().hasOwnership()) { | 1879 | 0 | return recordClonedInstruction( | 1880 | 0 | Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()), | 1881 | 0 | getOpValue(Inst->getOperand()), | 1882 | 0 | Inst->getAtomicity())); | 1883 | 0 | } | 1884 | | | 1885 | 5 | recordClonedInstruction(Inst, getBuilder().createUnmanagedRetainValue( | 1886 | 5 | getOpLocation(Inst->getLoc()), | 1887 | 5 | getOpValue(Inst->getOperand()), | 1888 | 5 | Inst->getAtomicity())); | 1889 | 5 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE |
1890 | | |
1891 | | template <typename ImplClass> |
1892 | 14.0k | void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) { |
1893 | 14.0k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1894 | 14.0k | if (!getBuilder().hasOwnership()) { |
1895 | | // Noescape closures become trivial after OSSA. |
1896 | 141 | if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) { |
1897 | 14 | if (fnTy->isTrivialNoEscape()) { |
1898 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); |
1899 | 0 | } |
1900 | 14 | } |
1901 | | |
1902 | 141 | SILValue newValue = getBuilder().emitCopyValueOperation( |
1903 | 141 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())); |
1904 | 141 | return recordFoldedValue(Inst, newValue); |
1905 | 141 | } |
1906 | | |
1907 | 13.8k | recordClonedInstruction( |
1908 | 13.8k | Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()), |
1909 | 13.8k | getOpValue(Inst->getOperand()))); |
1910 | 13.8k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitCopyValueInstEPNS_13CopyValueInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitCopyValueInstEPNS_13CopyValueInstE Line | Count | Source | 1892 | 28 | void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) { | 1893 | 28 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1894 | 28 | if (!getBuilder().hasOwnership()) { | 1895 | | // Noescape closures become trivial after OSSA. | 1896 | 0 | if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) { | 1897 | 0 | if (fnTy->isTrivialNoEscape()) { | 1898 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1899 | 0 | } | 1900 | 0 | } | 1901 | | | 1902 | 0 | SILValue newValue = getBuilder().emitCopyValueOperation( | 1903 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())); | 1904 | 0 | return recordFoldedValue(Inst, newValue); | 1905 | 0 | } | 1906 | | | 1907 | 28 | recordClonedInstruction( | 1908 | 28 | Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()), | 1909 | 28 | getOpValue(Inst->getOperand()))); | 1910 | 28 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitCopyValueInstEPNS_13CopyValueInstE Line | Count | Source | 1892 | 168 | void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) { | 1893 | 168 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1894 | 168 | if (!getBuilder().hasOwnership()) { | 1895 | | // Noescape closures become trivial after OSSA. | 1896 | 0 | if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) { | 1897 | 0 | if (fnTy->isTrivialNoEscape()) { | 1898 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1899 | 0 | } | 1900 | 0 | } | 1901 | | | 1902 | 0 | SILValue newValue = getBuilder().emitCopyValueOperation( | 1903 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())); | 1904 | 0 | return recordFoldedValue(Inst, newValue); | 1905 | 0 | } | 1906 | | | 1907 | 168 | recordClonedInstruction( | 1908 | 168 | Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()), | 1909 | 168 | getOpValue(Inst->getOperand()))); | 1910 | 168 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Line | Count | Source | 1892 | 2 | void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) { | 1893 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1894 | 2 | if (!getBuilder().hasOwnership()) { | 1895 | | // Noescape closures become trivial after OSSA. | 1896 | 0 | if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) { | 1897 | 0 | if (fnTy->isTrivialNoEscape()) { | 1898 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1899 | 0 | } | 1900 | 0 | } | 1901 | | | 1902 | 0 | SILValue newValue = getBuilder().emitCopyValueOperation( | 1903 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())); | 1904 | 0 | return recordFoldedValue(Inst, newValue); | 1905 | 0 | } | 1906 | | | 1907 | 2 | recordClonedInstruction( | 1908 | 2 | Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()), | 1909 | 2 | getOpValue(Inst->getOperand()))); | 1910 | 2 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Line | Count | Source | 1892 | 2 | void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) { | 1893 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1894 | 2 | if (!getBuilder().hasOwnership()) { | 1895 | | // Noescape closures become trivial after OSSA. | 1896 | 0 | if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) { | 1897 | 0 | if (fnTy->isTrivialNoEscape()) { | 1898 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1899 | 0 | } | 1900 | 0 | } | 1901 | | | 1902 | 0 | SILValue newValue = getBuilder().emitCopyValueOperation( | 1903 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())); | 1904 | 0 | return recordFoldedValue(Inst, newValue); | 1905 | 0 | } | 1906 | | | 1907 | 2 | recordClonedInstruction( | 1908 | 2 | Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()), | 1909 | 2 | getOpValue(Inst->getOperand()))); | 1910 | 2 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitCopyValueInstEPNS_13CopyValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitCopyValueInstEPNS_13CopyValueInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Line | Count | Source | 1892 | 4 | void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) { | 1893 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1894 | 4 | if (!getBuilder().hasOwnership()) { | 1895 | | // Noescape closures become trivial after OSSA. | 1896 | 0 | if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) { | 1897 | 0 | if (fnTy->isTrivialNoEscape()) { | 1898 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1899 | 0 | } | 1900 | 0 | } | 1901 | | | 1902 | 0 | SILValue newValue = getBuilder().emitCopyValueOperation( | 1903 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())); | 1904 | 0 | return recordFoldedValue(Inst, newValue); | 1905 | 0 | } | 1906 | | | 1907 | 4 | recordClonedInstruction( | 1908 | 4 | Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()), | 1909 | 4 | getOpValue(Inst->getOperand()))); | 1910 | 4 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitCopyValueInstEPNS_13CopyValueInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Line | Count | Source | 1892 | 5 | void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) { | 1893 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1894 | 5 | if (!getBuilder().hasOwnership()) { | 1895 | | // Noescape closures become trivial after OSSA. | 1896 | 0 | if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) { | 1897 | 0 | if (fnTy->isTrivialNoEscape()) { | 1898 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1899 | 0 | } | 1900 | 0 | } | 1901 | | | 1902 | 0 | SILValue newValue = getBuilder().emitCopyValueOperation( | 1903 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())); | 1904 | 0 | return recordFoldedValue(Inst, newValue); | 1905 | 0 | } | 1906 | | | 1907 | 5 | recordClonedInstruction( | 1908 | 5 | Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()), | 1909 | 5 | getOpValue(Inst->getOperand()))); | 1910 | 5 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitCopyValueInstEPNS_13CopyValueInstE _ZN5swift9SILClonerINS_13GenericClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Line | Count | Source | 1892 | 9.73k | void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) { | 1893 | 9.73k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1894 | 9.73k | if (!getBuilder().hasOwnership()) { | 1895 | | // Noescape closures become trivial after OSSA. | 1896 | 0 | if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) { | 1897 | 0 | if (fnTy->isTrivialNoEscape()) { | 1898 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1899 | 0 | } | 1900 | 0 | } | 1901 | | | 1902 | 0 | SILValue newValue = getBuilder().emitCopyValueOperation( | 1903 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())); | 1904 | 0 | return recordFoldedValue(Inst, newValue); | 1905 | 0 | } | 1906 | | | 1907 | 9.73k | recordClonedInstruction( | 1908 | 9.73k | Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()), | 1909 | 9.73k | getOpValue(Inst->getOperand()))); | 1910 | 9.73k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitCopyValueInstEPNS_13CopyValueInstE Line | Count | Source | 1892 | 4.06k | void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) { | 1893 | 4.06k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1894 | 4.06k | if (!getBuilder().hasOwnership()) { | 1895 | | // Noescape closures become trivial after OSSA. | 1896 | 141 | if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) { | 1897 | 14 | if (fnTy->isTrivialNoEscape()) { | 1898 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1899 | 0 | } | 1900 | 14 | } | 1901 | | | 1902 | 141 | SILValue newValue = getBuilder().emitCopyValueOperation( | 1903 | 141 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())); | 1904 | 141 | return recordFoldedValue(Inst, newValue); | 1905 | 141 | } | 1906 | | | 1907 | 3.91k | recordClonedInstruction( | 1908 | 3.91k | Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()), | 1909 | 3.91k | getOpValue(Inst->getOperand()))); | 1910 | 3.91k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitCopyValueInstEPNS_13CopyValueInstE |
1911 | | |
1912 | | template <typename ImplClass> |
1913 | | void SILCloner<ImplClass>::visitExplicitCopyValueInst( |
1914 | 0 | ExplicitCopyValueInst *Inst) { |
1915 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1916 | 0 | if (!getBuilder().hasOwnership()) { |
1917 | 0 | SILValue newValue = getBuilder().emitCopyValueOperation( |
1918 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())); |
1919 | 0 | return recordFoldedValue(Inst, newValue); |
1920 | 0 | } |
1921 | | |
1922 | 0 | recordClonedInstruction( |
1923 | 0 | Inst, getBuilder().createExplicitCopyValue( |
1924 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); |
1925 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE |
1926 | | |
1927 | | template <typename ImplClass> |
1928 | 308 | void SILCloner<ImplClass>::visitMoveValueInst(MoveValueInst *Inst) { |
1929 | 308 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1930 | 308 | if (!getBuilder().hasOwnership()) { |
1931 | 10 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); |
1932 | 10 | } |
1933 | 298 | auto *MVI = getBuilder().createMoveValue(getOpLocation(Inst->getLoc()), |
1934 | 298 | getOpValue(Inst->getOperand()), |
1935 | 298 | Inst->isLexical()); |
1936 | 298 | MVI->setAllowsDiagnostics(Inst->getAllowDiagnostics()); |
1937 | 298 | recordClonedInstruction(Inst, MVI); |
1938 | 298 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitMoveValueInstEPNS_13MoveValueInstE _ZN5swift9SILClonerINS_13GenericClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Line | Count | Source | 1928 | 8 | void SILCloner<ImplClass>::visitMoveValueInst(MoveValueInst *Inst) { | 1929 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1930 | 8 | if (!getBuilder().hasOwnership()) { | 1931 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1932 | 0 | } | 1933 | 8 | auto *MVI = getBuilder().createMoveValue(getOpLocation(Inst->getLoc()), | 1934 | 8 | getOpValue(Inst->getOperand()), | 1935 | 8 | Inst->isLexical()); | 1936 | 8 | MVI->setAllowsDiagnostics(Inst->getAllowDiagnostics()); | 1937 | 8 | recordClonedInstruction(Inst, MVI); | 1938 | 8 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitMoveValueInstEPNS_13MoveValueInstE Line | Count | Source | 1928 | 300 | void SILCloner<ImplClass>::visitMoveValueInst(MoveValueInst *Inst) { | 1929 | 300 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 1930 | 300 | if (!getBuilder().hasOwnership()) { | 1931 | 10 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 1932 | 10 | } | 1933 | 290 | auto *MVI = getBuilder().createMoveValue(getOpLocation(Inst->getLoc()), | 1934 | 290 | getOpValue(Inst->getOperand()), | 1935 | 290 | Inst->isLexical()); | 1936 | 290 | MVI->setAllowsDiagnostics(Inst->getAllowDiagnostics()); | 1937 | 290 | recordClonedInstruction(Inst, MVI); | 1938 | 290 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitMoveValueInstEPNS_13MoveValueInstE |
1939 | | |
1940 | | template <typename ImplClass> |
1941 | 0 | void SILCloner<ImplClass>::visitDropDeinitInst(DropDeinitInst *Inst) { |
1942 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1943 | 0 | if (!getBuilder().hasOwnership()) { |
1944 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); |
1945 | 0 | } |
1946 | 0 | auto *MVI = getBuilder().createDropDeinit(getOpLocation(Inst->getLoc()), |
1947 | 0 | getOpValue(Inst->getOperand())); |
1948 | 0 | recordClonedInstruction(Inst, MVI); |
1949 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE |
1950 | | |
1951 | | template <typename ImplClass> |
1952 | | void SILCloner<ImplClass>::visitMarkUnresolvedNonCopyableValueInst( |
1953 | 0 | MarkUnresolvedNonCopyableValueInst *Inst) { |
1954 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1955 | 0 | auto *MVI = getBuilder().createMarkUnresolvedNonCopyableValueInst( |
1956 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1957 | 0 | Inst->getCheckKind()); |
1958 | 0 | recordClonedInstruction(Inst, MVI); |
1959 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE |
1960 | | |
1961 | | template <typename ImplClass> |
1962 | | void SILCloner<ImplClass>::visitMarkUnresolvedReferenceBindingInst( |
1963 | 0 | MarkUnresolvedReferenceBindingInst *Inst) { |
1964 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
1965 | 0 | auto *MVI = getBuilder().createMarkUnresolvedReferenceBindingInst( |
1966 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
1967 | 0 | Inst->getKind()); |
1968 | 0 | recordClonedInstruction(Inst, MVI); |
1969 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE |
1970 | | |
1971 | | template <typename ImplClass> |
1972 | | void SILCloner<ImplClass>::visitMoveOnlyWrapperToCopyableValueInst( |
1973 | 0 | MoveOnlyWrapperToCopyableValueInst *inst) { |
1974 | 0 | getBuilder().setCurrentDebugScope(getOpScope(inst->getDebugScope())); |
1975 | 0 | MoveOnlyWrapperToCopyableValueInst *cvt; |
1976 | 0 | if (inst->getOwnershipKind() == OwnershipKind::Owned) { |
1977 | 0 | cvt = getBuilder().createOwnedMoveOnlyWrapperToCopyableValue( |
1978 | 0 | getOpLocation(inst->getLoc()), getOpValue(inst->getOperand())); |
1979 | 0 | } else { |
1980 | 0 | assert(inst->getOwnershipKind() == OwnershipKind::Guaranteed); |
1981 | 0 | cvt = getBuilder().createGuaranteedMoveOnlyWrapperToCopyableValue( |
1982 | 0 | getOpLocation(inst->getLoc()), getOpValue(inst->getOperand())); |
1983 | 0 | } |
1984 | 0 | recordClonedInstruction(inst, cvt); |
1985 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE |
1986 | | |
1987 | | template <typename ImplClass> |
1988 | | void SILCloner<ImplClass>::visitMoveOnlyWrapperToCopyableBoxInst( |
1989 | 0 | MoveOnlyWrapperToCopyableBoxInst *inst) { |
1990 | 0 | getBuilder().setCurrentDebugScope(getOpScope(inst->getDebugScope())); |
1991 | 0 | recordClonedInstruction( |
1992 | 0 | inst, getBuilder().createMoveOnlyWrapperToCopyableBox( |
1993 | 0 | getOpLocation(inst->getLoc()), getOpValue(inst->getOperand()))); |
1994 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE |
1995 | | |
1996 | | template <typename ImplClass> |
1997 | | void SILCloner<ImplClass>::visitMoveOnlyWrapperToCopyableAddrInst( |
1998 | 0 | MoveOnlyWrapperToCopyableAddrInst *inst) { |
1999 | 0 | getBuilder().setCurrentDebugScope(getOpScope(inst->getDebugScope())); |
2000 | 0 | recordClonedInstruction( |
2001 | 0 | inst, getBuilder().createMoveOnlyWrapperToCopyableAddr( |
2002 | 0 | getOpLocation(inst->getLoc()), getOpValue(inst->getOperand()))); |
2003 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE |
2004 | | |
2005 | | template <typename ImplClass> |
2006 | | void SILCloner<ImplClass>::visitCopyableToMoveOnlyWrapperAddrInst( |
2007 | 0 | CopyableToMoveOnlyWrapperAddrInst *inst) { |
2008 | 0 | getBuilder().setCurrentDebugScope(getOpScope(inst->getDebugScope())); |
2009 | 0 | recordClonedInstruction( |
2010 | 0 | inst, getBuilder().createCopyableToMoveOnlyWrapperAddr( |
2011 | 0 | getOpLocation(inst->getLoc()), getOpValue(inst->getOperand()))); |
2012 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE |
2013 | | |
2014 | | template <typename ImplClass> |
2015 | | void SILCloner<ImplClass>::visitCopyableToMoveOnlyWrapperValueInst( |
2016 | 0 | CopyableToMoveOnlyWrapperValueInst *inst) { |
2017 | 0 | getBuilder().setCurrentDebugScope(getOpScope(inst->getDebugScope())); |
2018 | 0 | CopyableToMoveOnlyWrapperValueInst *cvt; |
2019 | 0 | if (inst->getOwnershipKind() == OwnershipKind::Owned) { |
2020 | 0 | cvt = getBuilder().createOwnedCopyableToMoveOnlyWrapperValue( |
2021 | 0 | getOpLocation(inst->getLoc()), getOpValue(inst->getOperand())); |
2022 | 0 | } else { |
2023 | 0 | assert(inst->getOwnershipKind() == OwnershipKind::Guaranteed); |
2024 | 0 | cvt = getBuilder().createGuaranteedCopyableToMoveOnlyWrapperValue( |
2025 | 0 | getOpLocation(inst->getLoc()), getOpValue(inst->getOperand())); |
2026 | 0 | } |
2027 | 0 | recordClonedInstruction(inst, cvt); |
2028 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE |
2029 | | |
2030 | | template <typename ImplClass> |
2031 | 5.23k | void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) { |
2032 | 5.23k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2033 | 5.23k | recordClonedInstruction( |
2034 | 5.23k | Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()), |
2035 | 5.23k | getOpValue(Inst->getOperand()), |
2036 | 5.23k | Inst->getAtomicity())); |
2037 | 5.23k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitReleaseValueInstEPNS_16ReleaseValueInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Line | Count | Source | 2031 | 60 | void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) { | 2032 | 60 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2033 | 60 | recordClonedInstruction( | 2034 | 60 | Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()), | 2035 | 60 | getOpValue(Inst->getOperand()), | 2036 | 60 | Inst->getAtomicity())); | 2037 | 60 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Line | Count | Source | 2031 | 197 | void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) { | 2032 | 197 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2033 | 197 | recordClonedInstruction( | 2034 | 197 | Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()), | 2035 | 197 | getOpValue(Inst->getOperand()), | 2036 | 197 | Inst->getAtomicity())); | 2037 | 197 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Line | Count | Source | 2031 | 9 | void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) { | 2032 | 9 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2033 | 9 | recordClonedInstruction( | 2034 | 9 | Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()), | 2035 | 9 | getOpValue(Inst->getOperand()), | 2036 | 9 | Inst->getAtomicity())); | 2037 | 9 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Line | Count | Source | 2031 | 687 | void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) { | 2032 | 687 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2033 | 687 | recordClonedInstruction( | 2034 | 687 | Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()), | 2035 | 687 | getOpValue(Inst->getOperand()), | 2036 | 687 | Inst->getAtomicity())); | 2037 | 687 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitReleaseValueInstEPNS_16ReleaseValueInstE _ZN5swift9SILClonerINS_13GenericClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Line | Count | Source | 2031 | 809 | void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) { | 2032 | 809 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2033 | 809 | recordClonedInstruction( | 2034 | 809 | Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()), | 2035 | 809 | getOpValue(Inst->getOperand()), | 2036 | 809 | Inst->getAtomicity())); | 2037 | 809 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Line | Count | Source | 2031 | 3.47k | void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) { | 2032 | 3.47k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2033 | 3.47k | recordClonedInstruction( | 2034 | 3.47k | Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()), | 2035 | 3.47k | getOpValue(Inst->getOperand()), | 2036 | 3.47k | Inst->getAtomicity())); | 2037 | 3.47k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE Line | Count | Source | 2031 | 1 | void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) { | 2032 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2033 | 1 | recordClonedInstruction( | 2034 | 1 | Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()), | 2035 | 1 | getOpValue(Inst->getOperand()), | 2036 | 1 | Inst->getAtomicity())); | 2037 | 1 | } |
|
2038 | | |
2039 | | template <typename ImplClass> |
2040 | | void SILCloner<ImplClass>::visitReleaseValueAddrInst( |
2041 | 0 | ReleaseValueAddrInst *Inst) { |
2042 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2043 | 0 | recordClonedInstruction( |
2044 | 0 | Inst, getBuilder().createReleaseValueAddr(getOpLocation(Inst->getLoc()), |
2045 | 0 | getOpValue(Inst->getOperand()), |
2046 | 0 | Inst->getAtomicity())); |
2047 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE |
2048 | | |
2049 | | template <typename ImplClass> |
2050 | | void SILCloner<ImplClass>::visitUnmanagedReleaseValueInst( |
2051 | 1 | UnmanagedReleaseValueInst *Inst) { |
2052 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2053 | 1 | if (!getBuilder().hasOwnership()) { |
2054 | 0 | return recordClonedInstruction( |
2055 | 0 | Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()), |
2056 | 0 | getOpValue(Inst->getOperand()), |
2057 | 0 | Inst->getAtomicity())); |
2058 | 0 | } |
2059 | 1 | recordClonedInstruction(Inst, getBuilder().createUnmanagedReleaseValue( |
2060 | 1 | getOpLocation(Inst->getLoc()), |
2061 | 1 | getOpValue(Inst->getOperand()), |
2062 | 1 | Inst->getAtomicity())); |
2063 | 1 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE Line | Count | Source | 2051 | 1 | UnmanagedReleaseValueInst *Inst) { | 2052 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2053 | 1 | if (!getBuilder().hasOwnership()) { | 2054 | 0 | return recordClonedInstruction( | 2055 | 0 | Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()), | 2056 | 0 | getOpValue(Inst->getOperand()), | 2057 | 0 | Inst->getAtomicity())); | 2058 | 0 | } | 2059 | 1 | recordClonedInstruction(Inst, getBuilder().createUnmanagedReleaseValue( | 2060 | 1 | getOpLocation(Inst->getLoc()), | 2061 | 1 | getOpValue(Inst->getOperand()), | 2062 | 1 | Inst->getAtomicity())); | 2063 | 1 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE |
2064 | | |
2065 | | template <typename ImplClass> |
2066 | 29.9k | void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) { |
2067 | 29.9k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2068 | 29.9k | if (!getBuilder().hasOwnership()) { |
2069 | | // Noescape closures become trivial after OSSA. |
2070 | 335 | if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) { |
2071 | 43 | if (fnTy->isTrivialNoEscape()) { |
2072 | | // Destroying the partial_apply [stack] becomes the stack deallocation |
2073 | | // of the context. |
2074 | 15 | if (auto origPA = Inst->getNonescapingClosureAllocation()) { |
2075 | 15 | recordClonedInstruction(Inst, |
2076 | 15 | getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), |
2077 | 15 | getOpValue(origPA))); |
2078 | 15 | } |
2079 | | |
2080 | 15 | return; |
2081 | 15 | } |
2082 | 43 | } |
2083 | | |
2084 | 320 | return recordClonedInstruction( |
2085 | 320 | Inst, getBuilder().createReleaseValue( |
2086 | 320 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2087 | 320 | RefCountingInst::Atomicity::Atomic)); |
2088 | 335 | } |
2089 | | |
2090 | 29.6k | recordClonedInstruction( |
2091 | 29.6k | Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()), |
2092 | 29.6k | getOpValue(Inst->getOperand()), |
2093 | 29.6k | Inst->poisonRefs())); |
2094 | 29.6k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitDestroyValueInstEPNS_16DestroyValueInstE Line | Count | Source | 2066 | 47 | void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) { | 2067 | 47 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2068 | 47 | if (!getBuilder().hasOwnership()) { | 2069 | | // Noescape closures become trivial after OSSA. | 2070 | 0 | if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) { | 2071 | 0 | if (fnTy->isTrivialNoEscape()) { | 2072 | | // Destroying the partial_apply [stack] becomes the stack deallocation | 2073 | | // of the context. | 2074 | 0 | if (auto origPA = Inst->getNonescapingClosureAllocation()) { | 2075 | 0 | recordClonedInstruction(Inst, | 2076 | 0 | getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2077 | 0 | getOpValue(origPA))); | 2078 | 0 | } | 2079 | | | 2080 | 0 | return; | 2081 | 0 | } | 2082 | 0 | } | 2083 | | | 2084 | 0 | return recordClonedInstruction( | 2085 | 0 | Inst, getBuilder().createReleaseValue( | 2086 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2087 | 0 | RefCountingInst::Atomicity::Atomic)); | 2088 | 0 | } | 2089 | | | 2090 | 47 | recordClonedInstruction( | 2091 | 47 | Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()), | 2092 | 47 | getOpValue(Inst->getOperand()), | 2093 | 47 | Inst->poisonRefs())); | 2094 | 47 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitDestroyValueInstEPNS_16DestroyValueInstE Line | Count | Source | 2066 | 255 | void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) { | 2067 | 255 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2068 | 255 | if (!getBuilder().hasOwnership()) { | 2069 | | // Noescape closures become trivial after OSSA. | 2070 | 0 | if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) { | 2071 | 0 | if (fnTy->isTrivialNoEscape()) { | 2072 | | // Destroying the partial_apply [stack] becomes the stack deallocation | 2073 | | // of the context. | 2074 | 0 | if (auto origPA = Inst->getNonescapingClosureAllocation()) { | 2075 | 0 | recordClonedInstruction(Inst, | 2076 | 0 | getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2077 | 0 | getOpValue(origPA))); | 2078 | 0 | } | 2079 | | | 2080 | 0 | return; | 2081 | 0 | } | 2082 | 0 | } | 2083 | | | 2084 | 0 | return recordClonedInstruction( | 2085 | 0 | Inst, getBuilder().createReleaseValue( | 2086 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2087 | 0 | RefCountingInst::Atomicity::Atomic)); | 2088 | 0 | } | 2089 | | | 2090 | 255 | recordClonedInstruction( | 2091 | 255 | Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()), | 2092 | 255 | getOpValue(Inst->getOperand()), | 2093 | 255 | Inst->poisonRefs())); | 2094 | 255 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Line | Count | Source | 2066 | 5 | void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) { | 2067 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2068 | 5 | if (!getBuilder().hasOwnership()) { | 2069 | | // Noescape closures become trivial after OSSA. | 2070 | 0 | if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) { | 2071 | 0 | if (fnTy->isTrivialNoEscape()) { | 2072 | | // Destroying the partial_apply [stack] becomes the stack deallocation | 2073 | | // of the context. | 2074 | 0 | if (auto origPA = Inst->getNonescapingClosureAllocation()) { | 2075 | 0 | recordClonedInstruction(Inst, | 2076 | 0 | getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2077 | 0 | getOpValue(origPA))); | 2078 | 0 | } | 2079 | | | 2080 | 0 | return; | 2081 | 0 | } | 2082 | 0 | } | 2083 | | | 2084 | 0 | return recordClonedInstruction( | 2085 | 0 | Inst, getBuilder().createReleaseValue( | 2086 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2087 | 0 | RefCountingInst::Atomicity::Atomic)); | 2088 | 0 | } | 2089 | | | 2090 | 5 | recordClonedInstruction( | 2091 | 5 | Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()), | 2092 | 5 | getOpValue(Inst->getOperand()), | 2093 | 5 | Inst->poisonRefs())); | 2094 | 5 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Line | Count | Source | 2066 | 102 | void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) { | 2067 | 102 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2068 | 102 | if (!getBuilder().hasOwnership()) { | 2069 | | // Noescape closures become trivial after OSSA. | 2070 | 0 | if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) { | 2071 | 0 | if (fnTy->isTrivialNoEscape()) { | 2072 | | // Destroying the partial_apply [stack] becomes the stack deallocation | 2073 | | // of the context. | 2074 | 0 | if (auto origPA = Inst->getNonescapingClosureAllocation()) { | 2075 | 0 | recordClonedInstruction(Inst, | 2076 | 0 | getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2077 | 0 | getOpValue(origPA))); | 2078 | 0 | } | 2079 | | | 2080 | 0 | return; | 2081 | 0 | } | 2082 | 0 | } | 2083 | | | 2084 | 0 | return recordClonedInstruction( | 2085 | 0 | Inst, getBuilder().createReleaseValue( | 2086 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2087 | 0 | RefCountingInst::Atomicity::Atomic)); | 2088 | 0 | } | 2089 | | | 2090 | 102 | recordClonedInstruction( | 2091 | 102 | Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()), | 2092 | 102 | getOpValue(Inst->getOperand()), | 2093 | 102 | Inst->poisonRefs())); | 2094 | 102 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitDestroyValueInstEPNS_16DestroyValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Line | Count | Source | 2066 | 30 | void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) { | 2067 | 30 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2068 | 30 | if (!getBuilder().hasOwnership()) { | 2069 | | // Noescape closures become trivial after OSSA. | 2070 | 0 | if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) { | 2071 | 0 | if (fnTy->isTrivialNoEscape()) { | 2072 | | // Destroying the partial_apply [stack] becomes the stack deallocation | 2073 | | // of the context. | 2074 | 0 | if (auto origPA = Inst->getNonescapingClosureAllocation()) { | 2075 | 0 | recordClonedInstruction(Inst, | 2076 | 0 | getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2077 | 0 | getOpValue(origPA))); | 2078 | 0 | } | 2079 | | | 2080 | 0 | return; | 2081 | 0 | } | 2082 | 0 | } | 2083 | | | 2084 | 0 | return recordClonedInstruction( | 2085 | 0 | Inst, getBuilder().createReleaseValue( | 2086 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2087 | 0 | RefCountingInst::Atomicity::Atomic)); | 2088 | 0 | } | 2089 | | | 2090 | 30 | recordClonedInstruction( | 2091 | 30 | Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()), | 2092 | 30 | getOpValue(Inst->getOperand()), | 2093 | 30 | Inst->poisonRefs())); | 2094 | 30 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitDestroyValueInstEPNS_16DestroyValueInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Line | Count | Source | 2066 | 45 | void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) { | 2067 | 45 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2068 | 45 | if (!getBuilder().hasOwnership()) { | 2069 | | // Noescape closures become trivial after OSSA. | 2070 | 0 | if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) { | 2071 | 0 | if (fnTy->isTrivialNoEscape()) { | 2072 | | // Destroying the partial_apply [stack] becomes the stack deallocation | 2073 | | // of the context. | 2074 | 0 | if (auto origPA = Inst->getNonescapingClosureAllocation()) { | 2075 | 0 | recordClonedInstruction(Inst, | 2076 | 0 | getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2077 | 0 | getOpValue(origPA))); | 2078 | 0 | } | 2079 | | | 2080 | 0 | return; | 2081 | 0 | } | 2082 | 0 | } | 2083 | | | 2084 | 0 | return recordClonedInstruction( | 2085 | 0 | Inst, getBuilder().createReleaseValue( | 2086 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2087 | 0 | RefCountingInst::Atomicity::Atomic)); | 2088 | 0 | } | 2089 | | | 2090 | 45 | recordClonedInstruction( | 2091 | 45 | Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()), | 2092 | 45 | getOpValue(Inst->getOperand()), | 2093 | 45 | Inst->poisonRefs())); | 2094 | 45 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitDestroyValueInstEPNS_16DestroyValueInstE _ZN5swift9SILClonerINS_13GenericClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Line | Count | Source | 2066 | 18.8k | void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) { | 2067 | 18.8k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2068 | 18.8k | if (!getBuilder().hasOwnership()) { | 2069 | | // Noescape closures become trivial after OSSA. | 2070 | 0 | if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) { | 2071 | 0 | if (fnTy->isTrivialNoEscape()) { | 2072 | | // Destroying the partial_apply [stack] becomes the stack deallocation | 2073 | | // of the context. | 2074 | 0 | if (auto origPA = Inst->getNonescapingClosureAllocation()) { | 2075 | 0 | recordClonedInstruction(Inst, | 2076 | 0 | getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2077 | 0 | getOpValue(origPA))); | 2078 | 0 | } | 2079 | | | 2080 | 0 | return; | 2081 | 0 | } | 2082 | 0 | } | 2083 | | | 2084 | 0 | return recordClonedInstruction( | 2085 | 0 | Inst, getBuilder().createReleaseValue( | 2086 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2087 | 0 | RefCountingInst::Atomicity::Atomic)); | 2088 | 0 | } | 2089 | | | 2090 | 18.8k | recordClonedInstruction( | 2091 | 18.8k | Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()), | 2092 | 18.8k | getOpValue(Inst->getOperand()), | 2093 | 18.8k | Inst->poisonRefs())); | 2094 | 18.8k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Line | Count | Source | 2066 | 10.6k | void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) { | 2067 | 10.6k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2068 | 10.6k | if (!getBuilder().hasOwnership()) { | 2069 | | // Noescape closures become trivial after OSSA. | 2070 | 335 | if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) { | 2071 | 43 | if (fnTy->isTrivialNoEscape()) { | 2072 | | // Destroying the partial_apply [stack] becomes the stack deallocation | 2073 | | // of the context. | 2074 | 15 | if (auto origPA = Inst->getNonescapingClosureAllocation()) { | 2075 | 15 | recordClonedInstruction(Inst, | 2076 | 15 | getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2077 | 15 | getOpValue(origPA))); | 2078 | 15 | } | 2079 | | | 2080 | 15 | return; | 2081 | 15 | } | 2082 | 43 | } | 2083 | | | 2084 | 320 | return recordClonedInstruction( | 2085 | 320 | Inst, getBuilder().createReleaseValue( | 2086 | 320 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2087 | 320 | RefCountingInst::Atomicity::Atomic)); | 2088 | 335 | } | 2089 | | | 2090 | 10.2k | recordClonedInstruction( | 2091 | 10.2k | Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()), | 2092 | 10.2k | getOpValue(Inst->getOperand()), | 2093 | 10.2k | Inst->poisonRefs())); | 2094 | 10.2k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE Line | Count | Source | 2066 | 8 | void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) { | 2067 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2068 | 8 | if (!getBuilder().hasOwnership()) { | 2069 | | // Noescape closures become trivial after OSSA. | 2070 | 0 | if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) { | 2071 | 0 | if (fnTy->isTrivialNoEscape()) { | 2072 | | // Destroying the partial_apply [stack] becomes the stack deallocation | 2073 | | // of the context. | 2074 | 0 | if (auto origPA = Inst->getNonescapingClosureAllocation()) { | 2075 | 0 | recordClonedInstruction(Inst, | 2076 | 0 | getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2077 | 0 | getOpValue(origPA))); | 2078 | 0 | } | 2079 | | | 2080 | 0 | return; | 2081 | 0 | } | 2082 | 0 | } | 2083 | | | 2084 | 0 | return recordClonedInstruction( | 2085 | 0 | Inst, getBuilder().createReleaseValue( | 2086 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2087 | 0 | RefCountingInst::Atomicity::Atomic)); | 2088 | 0 | } | 2089 | | | 2090 | 8 | recordClonedInstruction( | 2091 | 8 | Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()), | 2092 | 8 | getOpValue(Inst->getOperand()), | 2093 | 8 | Inst->poisonRefs())); | 2094 | 8 | } |
|
2095 | | |
2096 | | template <typename ImplClass> |
2097 | | void SILCloner<ImplClass>::visitAutoreleaseValueInst( |
2098 | 0 | AutoreleaseValueInst *Inst) { |
2099 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2100 | 0 | recordClonedInstruction( |
2101 | 0 | Inst, getBuilder().createAutoreleaseValue(getOpLocation(Inst->getLoc()), |
2102 | 0 | getOpValue(Inst->getOperand()), |
2103 | 0 | Inst->getAtomicity())); |
2104 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE |
2105 | | |
2106 | | template <typename ImplClass> |
2107 | | void SILCloner<ImplClass>::visitUnmanagedAutoreleaseValueInst( |
2108 | 0 | UnmanagedAutoreleaseValueInst *Inst) { |
2109 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2110 | 0 | if (!getBuilder().hasOwnership()) { |
2111 | 0 | return recordClonedInstruction(Inst, getBuilder().createAutoreleaseValue( |
2112 | 0 | getOpLocation(Inst->getLoc()), |
2113 | 0 | getOpValue(Inst->getOperand()), |
2114 | 0 | Inst->getAtomicity())); |
2115 | 0 | } |
2116 | | |
2117 | 0 | recordClonedInstruction(Inst, getBuilder().createUnmanagedAutoreleaseValue( |
2118 | 0 | getOpLocation(Inst->getLoc()), |
2119 | 0 | getOpValue(Inst->getOperand()), |
2120 | 0 | Inst->getAtomicity())); |
2121 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE |
2122 | | |
2123 | | template<typename ImplClass> |
2124 | | void |
2125 | 0 | SILCloner<ImplClass>::visitBeginDeallocRefInst(BeginDeallocRefInst *Inst) { |
2126 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2127 | 0 | recordClonedInstruction( |
2128 | 0 | Inst, getBuilder().createBeginDeallocRef(getOpLocation(Inst->getLoc()), |
2129 | 0 | getOpValue(Inst->getReference()), |
2130 | 0 | getOpValue(Inst->getAllocation()))); |
2131 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE |
2132 | | |
2133 | | template<typename ImplClass> |
2134 | | void |
2135 | 168 | SILCloner<ImplClass>::visitEndInitLetRefInst(EndInitLetRefInst *Inst) { |
2136 | 168 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2137 | 168 | recordClonedInstruction( |
2138 | 168 | Inst, getBuilder().createEndInitLetRef(getOpLocation(Inst->getLoc()), |
2139 | 168 | getOpValue(Inst->getOperand()))); |
2140 | 168 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Line | Count | Source | 2135 | 10 | SILCloner<ImplClass>::visitEndInitLetRefInst(EndInitLetRefInst *Inst) { | 2136 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2137 | 10 | recordClonedInstruction( | 2138 | 10 | Inst, getBuilder().createEndInitLetRef(getOpLocation(Inst->getLoc()), | 2139 | 10 | getOpValue(Inst->getOperand()))); | 2140 | 10 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Line | Count | Source | 2135 | 1 | SILCloner<ImplClass>::visitEndInitLetRefInst(EndInitLetRefInst *Inst) { | 2136 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2137 | 1 | recordClonedInstruction( | 2138 | 1 | Inst, getBuilder().createEndInitLetRef(getOpLocation(Inst->getLoc()), | 2139 | 1 | getOpValue(Inst->getOperand()))); | 2140 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE _ZN5swift9SILClonerINS_13GenericClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Line | Count | Source | 2135 | 14 | SILCloner<ImplClass>::visitEndInitLetRefInst(EndInitLetRefInst *Inst) { | 2136 | 14 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2137 | 14 | recordClonedInstruction( | 2138 | 14 | Inst, getBuilder().createEndInitLetRef(getOpLocation(Inst->getLoc()), | 2139 | 14 | getOpValue(Inst->getOperand()))); | 2140 | 14 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE Line | Count | Source | 2135 | 143 | SILCloner<ImplClass>::visitEndInitLetRefInst(EndInitLetRefInst *Inst) { | 2136 | 143 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2137 | 143 | recordClonedInstruction( | 2138 | 143 | Inst, getBuilder().createEndInitLetRef(getOpLocation(Inst->getLoc()), | 2139 | 143 | getOpValue(Inst->getOperand()))); | 2140 | 143 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE |
2141 | | |
2142 | | template<typename ImplClass> |
2143 | | void |
2144 | 0 | SILCloner<ImplClass>::visitObjectInst(ObjectInst *Inst) { |
2145 | 0 | auto Elements = getOpValueArray<8>(Inst->getAllElements()); |
2146 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2147 | 0 | recordClonedInstruction( |
2148 | 0 | Inst, |
2149 | 0 | getBuilder().createObject(getOpLocation(Inst->getLoc()), Inst->getType(), |
2150 | 0 | Elements, Inst->getBaseElements().size(), |
2151 | 0 | getBuilder().hasOwnership() |
2152 | 0 | ? Inst->getForwardingOwnershipKind() |
2153 | 0 | : ValueOwnershipKind(OwnershipKind::None))); |
2154 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE15visitObjectInstEPNS_10ObjectInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitObjectInstEPNS_10ObjectInstE |
2155 | | |
2156 | | template<typename ImplClass> |
2157 | | void |
2158 | 905k | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { |
2159 | 905k | auto Elements = getOpValueArray<8>(Inst->getElements()); |
2160 | 905k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2161 | 905k | recordClonedInstruction( |
2162 | 905k | Inst, |
2163 | 905k | getBuilder().createStruct(getOpLocation(Inst->getLoc()), |
2164 | 905k | getOpType(Inst->getType()), Elements, |
2165 | 905k | getBuilder().hasOwnership() |
2166 | 905k | ? Inst->getForwardingOwnershipKind() |
2167 | 905k | : ValueOwnershipKind(OwnershipKind::None))); |
2168 | 905k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitStructInstEPNS_10StructInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitStructInstEPNS_10StructInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitStructInstEPNS_10StructInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 6 | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 6 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 6 | recordClonedInstruction( | 2162 | 6 | Inst, | 2163 | 6 | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 6 | getOpType(Inst->getType()), Elements, | 2165 | 6 | getBuilder().hasOwnership() | 2166 | 6 | ? Inst->getForwardingOwnershipKind() | 2167 | 6 | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 6 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 15 | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 15 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 15 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 15 | recordClonedInstruction( | 2162 | 15 | Inst, | 2163 | 15 | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 15 | getOpType(Inst->getType()), Elements, | 2165 | 15 | getBuilder().hasOwnership() | 2166 | 15 | ? Inst->getForwardingOwnershipKind() | 2167 | 15 | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 15 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 1.35k | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 1.35k | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 1.35k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 1.35k | recordClonedInstruction( | 2162 | 1.35k | Inst, | 2163 | 1.35k | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 1.35k | getOpType(Inst->getType()), Elements, | 2165 | 1.35k | getBuilder().hasOwnership() | 2166 | 1.35k | ? Inst->getForwardingOwnershipKind() | 2167 | 1.35k | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 1.35k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 3.51k | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 3.51k | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 3.51k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 3.51k | recordClonedInstruction( | 2162 | 3.51k | Inst, | 2163 | 3.51k | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 3.51k | getOpType(Inst->getType()), Elements, | 2165 | 3.51k | getBuilder().hasOwnership() | 2166 | 3.51k | ? Inst->getForwardingOwnershipKind() | 2167 | 3.51k | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 3.51k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 80 | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 80 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 80 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 80 | recordClonedInstruction( | 2162 | 80 | Inst, | 2163 | 80 | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 80 | getOpType(Inst->getType()), Elements, | 2165 | 80 | getBuilder().hasOwnership() | 2166 | 80 | ? Inst->getForwardingOwnershipKind() | 2167 | 80 | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 80 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 8.43k | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 8.43k | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 8.43k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 8.43k | recordClonedInstruction( | 2162 | 8.43k | Inst, | 2163 | 8.43k | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 8.43k | getOpType(Inst->getType()), Elements, | 2165 | 8.43k | getBuilder().hasOwnership() | 2166 | 8.43k | ? Inst->getForwardingOwnershipKind() | 2167 | 8.43k | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 8.43k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 13 | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 13 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 13 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 13 | recordClonedInstruction( | 2162 | 13 | Inst, | 2163 | 13 | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 13 | getOpType(Inst->getType()), Elements, | 2165 | 13 | getBuilder().hasOwnership() | 2166 | 13 | ? Inst->getForwardingOwnershipKind() | 2167 | 13 | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 13 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitStructInstEPNS_10StructInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 40 | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 40 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 40 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 40 | recordClonedInstruction( | 2162 | 40 | Inst, | 2163 | 40 | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 40 | getOpType(Inst->getType()), Elements, | 2165 | 40 | getBuilder().hasOwnership() | 2166 | 40 | ? Inst->getForwardingOwnershipKind() | 2167 | 40 | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 40 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 18 | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 18 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 18 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 18 | recordClonedInstruction( | 2162 | 18 | Inst, | 2163 | 18 | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 18 | getOpType(Inst->getType()), Elements, | 2165 | 18 | getBuilder().hasOwnership() | 2166 | 18 | ? Inst->getForwardingOwnershipKind() | 2167 | 18 | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 18 | } |
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitStructInstEPNS_10StructInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitStructInstEPNS_10StructInstE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 991 | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 991 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 991 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 991 | recordClonedInstruction( | 2162 | 991 | Inst, | 2163 | 991 | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 991 | getOpType(Inst->getType()), Elements, | 2165 | 991 | getBuilder().hasOwnership() | 2166 | 991 | ? Inst->getForwardingOwnershipKind() | 2167 | 991 | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 991 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 10 | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 10 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 10 | recordClonedInstruction( | 2162 | 10 | Inst, | 2163 | 10 | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 10 | getOpType(Inst->getType()), Elements, | 2165 | 10 | getBuilder().hasOwnership() | 2166 | 10 | ? Inst->getForwardingOwnershipKind() | 2167 | 10 | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 10 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitStructInstEPNS_10StructInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitStructInstEPNS_10StructInstE _ZN5swift9SILClonerINS_13GenericClonerEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 203k | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 203k | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 203k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 203k | recordClonedInstruction( | 2162 | 203k | Inst, | 2163 | 203k | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 203k | getOpType(Inst->getType()), Elements, | 2165 | 203k | getBuilder().hasOwnership() | 2166 | 203k | ? Inst->getForwardingOwnershipKind() | 2167 | 203k | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 203k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 686k | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 686k | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 686k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 686k | recordClonedInstruction( | 2162 | 686k | Inst, | 2163 | 686k | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 686k | getOpType(Inst->getType()), Elements, | 2165 | 686k | getBuilder().hasOwnership() | 2166 | 686k | ? Inst->getForwardingOwnershipKind() | 2167 | 686k | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 686k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitStructInstEPNS_10StructInstE Line | Count | Source | 2158 | 245 | SILCloner<ImplClass>::visitStructInst(StructInst *Inst) { | 2159 | 245 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2160 | 245 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2161 | 245 | recordClonedInstruction( | 2162 | 245 | Inst, | 2163 | 245 | getBuilder().createStruct(getOpLocation(Inst->getLoc()), | 2164 | 245 | getOpType(Inst->getType()), Elements, | 2165 | 245 | getBuilder().hasOwnership() | 2166 | 245 | ? Inst->getForwardingOwnershipKind() | 2167 | 245 | : ValueOwnershipKind(OwnershipKind::None))); | 2168 | 245 | } |
|
2169 | | |
2170 | | template<typename ImplClass> |
2171 | | void |
2172 | 76.3k | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { |
2173 | 76.3k | auto Elements = getOpValueArray<8>(Inst->getElements()); |
2174 | 76.3k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2175 | 76.3k | recordClonedInstruction( |
2176 | 76.3k | Inst, |
2177 | 76.3k | getBuilder().createTuple(getOpLocation(Inst->getLoc()), |
2178 | 76.3k | getOpType(Inst->getType()), Elements, |
2179 | 76.3k | getBuilder().hasOwnership() |
2180 | 76.3k | ? Inst->getForwardingOwnershipKind() |
2181 | 76.3k | : ValueOwnershipKind(OwnershipKind::None))); |
2182 | 76.3k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14visitTupleInstEPNS_9TupleInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14visitTupleInstEPNS_9TupleInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE14visitTupleInstEPNS_9TupleInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 49 | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 49 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 49 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 49 | recordClonedInstruction( | 2176 | 49 | Inst, | 2177 | 49 | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 49 | getOpType(Inst->getType()), Elements, | 2179 | 49 | getBuilder().hasOwnership() | 2180 | 49 | ? Inst->getForwardingOwnershipKind() | 2181 | 49 | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 49 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 418 | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 418 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 418 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 418 | recordClonedInstruction( | 2176 | 418 | Inst, | 2177 | 418 | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 418 | getOpType(Inst->getType()), Elements, | 2179 | 418 | getBuilder().hasOwnership() | 2180 | 418 | ? Inst->getForwardingOwnershipKind() | 2181 | 418 | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 418 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 25 | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 25 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 25 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 25 | recordClonedInstruction( | 2176 | 25 | Inst, | 2177 | 25 | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 25 | getOpType(Inst->getType()), Elements, | 2179 | 25 | getBuilder().hasOwnership() | 2180 | 25 | ? Inst->getForwardingOwnershipKind() | 2181 | 25 | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 25 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 4 | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 4 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 4 | recordClonedInstruction( | 2176 | 4 | Inst, | 2177 | 4 | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 4 | getOpType(Inst->getType()), Elements, | 2179 | 4 | getBuilder().hasOwnership() | 2180 | 4 | ? Inst->getForwardingOwnershipKind() | 2181 | 4 | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 4 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 12 | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 12 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 12 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 12 | recordClonedInstruction( | 2176 | 12 | Inst, | 2177 | 12 | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 12 | getOpType(Inst->getType()), Elements, | 2179 | 12 | getBuilder().hasOwnership() | 2180 | 12 | ? Inst->getForwardingOwnershipKind() | 2181 | 12 | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 12 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 204 | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 204 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 204 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 204 | recordClonedInstruction( | 2176 | 204 | Inst, | 2177 | 204 | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 204 | getOpType(Inst->getType()), Elements, | 2179 | 204 | getBuilder().hasOwnership() | 2180 | 204 | ? Inst->getForwardingOwnershipKind() | 2181 | 204 | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 204 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 6 | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 6 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 6 | recordClonedInstruction( | 2176 | 6 | Inst, | 2177 | 6 | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 6 | getOpType(Inst->getType()), Elements, | 2179 | 6 | getBuilder().hasOwnership() | 2180 | 6 | ? Inst->getForwardingOwnershipKind() | 2181 | 6 | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 6 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14visitTupleInstEPNS_9TupleInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14visitTupleInstEPNS_9TupleInstE LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 36 | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 36 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 36 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 36 | recordClonedInstruction( | 2176 | 36 | Inst, | 2177 | 36 | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 36 | getOpType(Inst->getType()), Elements, | 2179 | 36 | getBuilder().hasOwnership() | 2180 | 36 | ? Inst->getForwardingOwnershipKind() | 2181 | 36 | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 36 | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 2 | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 2 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 2 | recordClonedInstruction( | 2176 | 2 | Inst, | 2177 | 2 | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 2 | getOpType(Inst->getType()), Elements, | 2179 | 2 | getBuilder().hasOwnership() | 2180 | 2 | ? Inst->getForwardingOwnershipKind() | 2181 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 2 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14visitTupleInstEPNS_9TupleInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14visitTupleInstEPNS_9TupleInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 3 | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 3 | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 3 | recordClonedInstruction( | 2176 | 3 | Inst, | 2177 | 3 | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 3 | getOpType(Inst->getType()), Elements, | 2179 | 3 | getBuilder().hasOwnership() | 2180 | 3 | ? Inst->getForwardingOwnershipKind() | 2181 | 3 | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 3 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE14visitTupleInstEPNS_9TupleInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14visitTupleInstEPNS_9TupleInstE _ZN5swift9SILClonerINS_13GenericClonerEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 12.6k | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 12.6k | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 12.6k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 12.6k | recordClonedInstruction( | 2176 | 12.6k | Inst, | 2177 | 12.6k | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 12.6k | getOpType(Inst->getType()), Elements, | 2179 | 12.6k | getBuilder().hasOwnership() | 2180 | 12.6k | ? Inst->getForwardingOwnershipKind() | 2181 | 12.6k | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 12.6k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE14visitTupleInstEPNS_9TupleInstE Line | Count | Source | 2172 | 63.0k | SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) { | 2173 | 63.0k | auto Elements = getOpValueArray<8>(Inst->getElements()); | 2174 | 63.0k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2175 | 63.0k | recordClonedInstruction( | 2176 | 63.0k | Inst, | 2177 | 63.0k | getBuilder().createTuple(getOpLocation(Inst->getLoc()), | 2178 | 63.0k | getOpType(Inst->getType()), Elements, | 2179 | 63.0k | getBuilder().hasOwnership() | 2180 | 63.0k | ? Inst->getForwardingOwnershipKind() | 2181 | 63.0k | : ValueOwnershipKind(OwnershipKind::None))); | 2182 | 63.0k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE14visitTupleInstEPNS_9TupleInstE |
2183 | | |
2184 | | template<typename ImplClass> |
2185 | | void |
2186 | 23.2k | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { |
2187 | 23.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2188 | 23.2k | recordClonedInstruction( |
2189 | 23.2k | Inst, |
2190 | 23.2k | getBuilder().createEnum( |
2191 | 23.2k | getOpLocation(Inst->getLoc()), |
2192 | 23.2k | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), |
2193 | 23.2k | Inst->getElement(), getOpType(Inst->getType()), |
2194 | 23.2k | getBuilder().hasOwnership() |
2195 | 23.2k | ? Inst->getForwardingOwnershipKind() |
2196 | 23.2k | : ValueOwnershipKind(OwnershipKind::None))); |
2197 | 23.2k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13visitEnumInstEPNS_8EnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13visitEnumInstEPNS_8EnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13visitEnumInstEPNS_8EnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13visitEnumInstEPNS_8EnumInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 17 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 17 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 17 | recordClonedInstruction( | 2189 | 17 | Inst, | 2190 | 17 | getBuilder().createEnum( | 2191 | 17 | getOpLocation(Inst->getLoc()), | 2192 | 17 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 17 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 17 | getBuilder().hasOwnership() | 2195 | 17 | ? Inst->getForwardingOwnershipKind() | 2196 | 17 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 17 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 675 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 675 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 675 | recordClonedInstruction( | 2189 | 675 | Inst, | 2190 | 675 | getBuilder().createEnum( | 2191 | 675 | getOpLocation(Inst->getLoc()), | 2192 | 675 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 675 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 675 | getBuilder().hasOwnership() | 2195 | 675 | ? Inst->getForwardingOwnershipKind() | 2196 | 675 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 675 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 345 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 345 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 345 | recordClonedInstruction( | 2189 | 345 | Inst, | 2190 | 345 | getBuilder().createEnum( | 2191 | 345 | getOpLocation(Inst->getLoc()), | 2192 | 345 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 345 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 345 | getBuilder().hasOwnership() | 2195 | 345 | ? Inst->getForwardingOwnershipKind() | 2196 | 345 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 345 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 10 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 10 | recordClonedInstruction( | 2189 | 10 | Inst, | 2190 | 10 | getBuilder().createEnum( | 2191 | 10 | getOpLocation(Inst->getLoc()), | 2192 | 10 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 10 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 10 | getBuilder().hasOwnership() | 2195 | 10 | ? Inst->getForwardingOwnershipKind() | 2196 | 10 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 10 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 274 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 274 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 274 | recordClonedInstruction( | 2189 | 274 | Inst, | 2190 | 274 | getBuilder().createEnum( | 2191 | 274 | getOpLocation(Inst->getLoc()), | 2192 | 274 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 274 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 274 | getBuilder().hasOwnership() | 2195 | 274 | ? Inst->getForwardingOwnershipKind() | 2196 | 274 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 274 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 4 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 4 | recordClonedInstruction( | 2189 | 4 | Inst, | 2190 | 4 | getBuilder().createEnum( | 2191 | 4 | getOpLocation(Inst->getLoc()), | 2192 | 4 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 4 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 4 | getBuilder().hasOwnership() | 2195 | 4 | ? Inst->getForwardingOwnershipKind() | 2196 | 4 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 4 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13visitEnumInstEPNS_8EnumInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 8 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 8 | recordClonedInstruction( | 2189 | 8 | Inst, | 2190 | 8 | getBuilder().createEnum( | 2191 | 8 | getOpLocation(Inst->getLoc()), | 2192 | 8 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 8 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 8 | getBuilder().hasOwnership() | 2195 | 8 | ? Inst->getForwardingOwnershipKind() | 2196 | 8 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 8 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 36 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 36 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 36 | recordClonedInstruction( | 2189 | 36 | Inst, | 2190 | 36 | getBuilder().createEnum( | 2191 | 36 | getOpLocation(Inst->getLoc()), | 2192 | 36 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 36 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 36 | getBuilder().hasOwnership() | 2195 | 36 | ? Inst->getForwardingOwnershipKind() | 2196 | 36 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 36 | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 4 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 4 | recordClonedInstruction( | 2189 | 4 | Inst, | 2190 | 4 | getBuilder().createEnum( | 2191 | 4 | getOpLocation(Inst->getLoc()), | 2192 | 4 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 4 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 4 | getBuilder().hasOwnership() | 2195 | 4 | ? Inst->getForwardingOwnershipKind() | 2196 | 4 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 4 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13visitEnumInstEPNS_8EnumInstE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 634 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 634 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 634 | recordClonedInstruction( | 2189 | 634 | Inst, | 2190 | 634 | getBuilder().createEnum( | 2191 | 634 | getOpLocation(Inst->getLoc()), | 2192 | 634 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 634 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 634 | getBuilder().hasOwnership() | 2195 | 634 | ? Inst->getForwardingOwnershipKind() | 2196 | 634 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 634 | } |
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 2 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 2 | recordClonedInstruction( | 2189 | 2 | Inst, | 2190 | 2 | getBuilder().createEnum( | 2191 | 2 | getOpLocation(Inst->getLoc()), | 2192 | 2 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 2 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 2 | getBuilder().hasOwnership() | 2195 | 2 | ? Inst->getForwardingOwnershipKind() | 2196 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 2 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13visitEnumInstEPNS_8EnumInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13visitEnumInstEPNS_8EnumInstE _ZN5swift9SILClonerINS_13GenericClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 6.98k | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 6.98k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 6.98k | recordClonedInstruction( | 2189 | 6.98k | Inst, | 2190 | 6.98k | getBuilder().createEnum( | 2191 | 6.98k | getOpLocation(Inst->getLoc()), | 2192 | 6.98k | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 6.98k | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 6.98k | getBuilder().hasOwnership() | 2195 | 6.98k | ? Inst->getForwardingOwnershipKind() | 2196 | 6.98k | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 6.98k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 14.1k | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 14.1k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 14.1k | recordClonedInstruction( | 2189 | 14.1k | Inst, | 2190 | 14.1k | getBuilder().createEnum( | 2191 | 14.1k | getOpLocation(Inst->getLoc()), | 2192 | 14.1k | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 14.1k | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 14.1k | getBuilder().hasOwnership() | 2195 | 14.1k | ? Inst->getForwardingOwnershipKind() | 2196 | 14.1k | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 14.1k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13visitEnumInstEPNS_8EnumInstE Line | Count | Source | 2186 | 53 | SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) { | 2187 | 53 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2188 | 53 | recordClonedInstruction( | 2189 | 53 | Inst, | 2190 | 53 | getBuilder().createEnum( | 2191 | 53 | getOpLocation(Inst->getLoc()), | 2192 | 53 | Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(), | 2193 | 53 | Inst->getElement(), getOpType(Inst->getType()), | 2194 | 53 | getBuilder().hasOwnership() | 2195 | 53 | ? Inst->getForwardingOwnershipKind() | 2196 | 53 | : ValueOwnershipKind(OwnershipKind::None))); | 2197 | 53 | } |
|
2198 | | |
2199 | | template<typename ImplClass> |
2200 | | void |
2201 | 6.01k | SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) { |
2202 | 6.01k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2203 | 6.01k | recordClonedInstruction( |
2204 | 6.01k | Inst, getBuilder().createInitEnumDataAddr( |
2205 | 6.01k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2206 | 6.01k | Inst->getElement(), getOpType(Inst->getType()))); |
2207 | 6.01k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Line | Count | Source | 2201 | 3 | SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) { | 2202 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2203 | 3 | recordClonedInstruction( | 2204 | 3 | Inst, getBuilder().createInitEnumDataAddr( | 2205 | 3 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2206 | 3 | Inst->getElement(), getOpType(Inst->getType()))); | 2207 | 3 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Line | Count | Source | 2201 | 24 | SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) { | 2202 | 24 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2203 | 24 | recordClonedInstruction( | 2204 | 24 | Inst, getBuilder().createInitEnumDataAddr( | 2205 | 24 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2206 | 24 | Inst->getElement(), getOpType(Inst->getType()))); | 2207 | 24 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Line | Count | Source | 2201 | 672 | SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) { | 2202 | 672 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2203 | 672 | recordClonedInstruction( | 2204 | 672 | Inst, getBuilder().createInitEnumDataAddr( | 2205 | 672 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2206 | 672 | Inst->getElement(), getOpType(Inst->getType()))); | 2207 | 672 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Line | Count | Source | 2201 | 95 | SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) { | 2202 | 95 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2203 | 95 | recordClonedInstruction( | 2204 | 95 | Inst, getBuilder().createInitEnumDataAddr( | 2205 | 95 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2206 | 95 | Inst->getElement(), getOpType(Inst->getType()))); | 2207 | 95 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Line | Count | Source | 2201 | 1 | SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) { | 2202 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2203 | 1 | recordClonedInstruction( | 2204 | 1 | Inst, getBuilder().createInitEnumDataAddr( | 2205 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2206 | 1 | Inst->getElement(), getOpType(Inst->getType()))); | 2207 | 1 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Line | Count | Source | 2201 | 2.08k | SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) { | 2202 | 2.08k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2203 | 2.08k | recordClonedInstruction( | 2204 | 2.08k | Inst, getBuilder().createInitEnumDataAddr( | 2205 | 2.08k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2206 | 2.08k | Inst->getElement(), getOpType(Inst->getType()))); | 2207 | 2.08k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE Line | Count | Source | 2201 | 3.12k | SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) { | 2202 | 3.12k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2203 | 3.12k | recordClonedInstruction( | 2204 | 3.12k | Inst, getBuilder().createInitEnumDataAddr( | 2205 | 3.12k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2206 | 3.12k | Inst->getElement(), getOpType(Inst->getType()))); | 2207 | 3.12k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE |
2208 | | |
2209 | | template<typename ImplClass> |
2210 | | void |
2211 | 3.31k | SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) { |
2212 | 3.31k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2213 | 3.31k | recordClonedInstruction( |
2214 | 3.31k | Inst, getBuilder().createUncheckedEnumData( |
2215 | 3.31k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2216 | 3.31k | Inst->getElement(), getOpType(Inst->getType()), |
2217 | 3.31k | getBuilder().hasOwnership() |
2218 | 3.31k | ? Inst->getForwardingOwnershipKind() |
2219 | 3.31k | : ValueOwnershipKind(OwnershipKind::None))); |
2220 | 3.31k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Line | Count | Source | 2211 | 25 | SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) { | 2212 | 25 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2213 | 25 | recordClonedInstruction( | 2214 | 25 | Inst, getBuilder().createUncheckedEnumData( | 2215 | 25 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2216 | 25 | Inst->getElement(), getOpType(Inst->getType()), | 2217 | 25 | getBuilder().hasOwnership() | 2218 | 25 | ? Inst->getForwardingOwnershipKind() | 2219 | 25 | : ValueOwnershipKind(OwnershipKind::None))); | 2220 | 25 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Line | Count | Source | 2211 | 8 | SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) { | 2212 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2213 | 8 | recordClonedInstruction( | 2214 | 8 | Inst, getBuilder().createUncheckedEnumData( | 2215 | 8 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2216 | 8 | Inst->getElement(), getOpType(Inst->getType()), | 2217 | 8 | getBuilder().hasOwnership() | 2218 | 8 | ? Inst->getForwardingOwnershipKind() | 2219 | 8 | : ValueOwnershipKind(OwnershipKind::None))); | 2220 | 8 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Line | Count | Source | 2211 | 173 | SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) { | 2212 | 173 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2213 | 173 | recordClonedInstruction( | 2214 | 173 | Inst, getBuilder().createUncheckedEnumData( | 2215 | 173 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2216 | 173 | Inst->getElement(), getOpType(Inst->getType()), | 2217 | 173 | getBuilder().hasOwnership() | 2218 | 173 | ? Inst->getForwardingOwnershipKind() | 2219 | 173 | : ValueOwnershipKind(OwnershipKind::None))); | 2220 | 173 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE _ZN5swift9SILClonerINS_13GenericClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Line | Count | Source | 2211 | 785 | SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) { | 2212 | 785 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2213 | 785 | recordClonedInstruction( | 2214 | 785 | Inst, getBuilder().createUncheckedEnumData( | 2215 | 785 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2216 | 785 | Inst->getElement(), getOpType(Inst->getType()), | 2217 | 785 | getBuilder().hasOwnership() | 2218 | 785 | ? Inst->getForwardingOwnershipKind() | 2219 | 785 | : ValueOwnershipKind(OwnershipKind::None))); | 2220 | 785 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Line | Count | Source | 2211 | 2.31k | SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) { | 2212 | 2.31k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2213 | 2.31k | recordClonedInstruction( | 2214 | 2.31k | Inst, getBuilder().createUncheckedEnumData( | 2215 | 2.31k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2216 | 2.31k | Inst->getElement(), getOpType(Inst->getType()), | 2217 | 2.31k | getBuilder().hasOwnership() | 2218 | 2.31k | ? Inst->getForwardingOwnershipKind() | 2219 | 2.31k | : ValueOwnershipKind(OwnershipKind::None))); | 2220 | 2.31k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE Line | Count | Source | 2211 | 13 | SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) { | 2212 | 13 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2213 | 13 | recordClonedInstruction( | 2214 | 13 | Inst, getBuilder().createUncheckedEnumData( | 2215 | 13 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2216 | 13 | Inst->getElement(), getOpType(Inst->getType()), | 2217 | 13 | getBuilder().hasOwnership() | 2218 | 13 | ? Inst->getForwardingOwnershipKind() | 2219 | 13 | : ValueOwnershipKind(OwnershipKind::None))); | 2220 | 13 | } |
|
2221 | | |
2222 | | template<typename ImplClass> |
2223 | | void |
2224 | 2.25k | SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) { |
2225 | 2.25k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2226 | 2.25k | recordClonedInstruction( |
2227 | 2.25k | Inst, getBuilder().createUncheckedTakeEnumDataAddr( |
2228 | 2.25k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2229 | 2.25k | Inst->getElement(), getOpType(Inst->getType()))); |
2230 | 2.25k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Line | Count | Source | 2224 | 33 | SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) { | 2225 | 33 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2226 | 33 | recordClonedInstruction( | 2227 | 33 | Inst, getBuilder().createUncheckedTakeEnumDataAddr( | 2228 | 33 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2229 | 33 | Inst->getElement(), getOpType(Inst->getType()))); | 2230 | 33 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Line | Count | Source | 2224 | 10 | SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) { | 2225 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2226 | 10 | recordClonedInstruction( | 2227 | 10 | Inst, getBuilder().createUncheckedTakeEnumDataAddr( | 2228 | 10 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2229 | 10 | Inst->getElement(), getOpType(Inst->getType()))); | 2230 | 10 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Line | Count | Source | 2224 | 21 | SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) { | 2225 | 21 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2226 | 21 | recordClonedInstruction( | 2227 | 21 | Inst, getBuilder().createUncheckedTakeEnumDataAddr( | 2228 | 21 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2229 | 21 | Inst->getElement(), getOpType(Inst->getType()))); | 2230 | 21 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Line | Count | Source | 2224 | 1 | SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) { | 2225 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2226 | 1 | recordClonedInstruction( | 2227 | 1 | Inst, getBuilder().createUncheckedTakeEnumDataAddr( | 2228 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2229 | 1 | Inst->getElement(), getOpType(Inst->getType()))); | 2230 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Line | Count | Source | 2224 | 2 | SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) { | 2225 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2226 | 2 | recordClonedInstruction( | 2227 | 2 | Inst, getBuilder().createUncheckedTakeEnumDataAddr( | 2228 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2229 | 2 | Inst->getElement(), getOpType(Inst->getType()))); | 2230 | 2 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Line | Count | Source | 2224 | 1.60k | SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) { | 2225 | 1.60k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2226 | 1.60k | recordClonedInstruction( | 2227 | 1.60k | Inst, getBuilder().createUncheckedTakeEnumDataAddr( | 2228 | 1.60k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2229 | 1.60k | Inst->getElement(), getOpType(Inst->getType()))); | 2230 | 1.60k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE Line | Count | Source | 2224 | 583 | SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) { | 2225 | 583 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2226 | 583 | recordClonedInstruction( | 2227 | 583 | Inst, getBuilder().createUncheckedTakeEnumDataAddr( | 2228 | 583 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2229 | 583 | Inst->getElement(), getOpType(Inst->getType()))); | 2230 | 583 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE |
2231 | | |
2232 | | template<typename ImplClass> |
2233 | | void |
2234 | 9.25k | SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) { |
2235 | 9.25k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2236 | 9.25k | recordClonedInstruction( |
2237 | 9.25k | Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()), |
2238 | 9.25k | getOpValue(Inst->getOperand()), |
2239 | 9.25k | Inst->getElement())); |
2240 | 9.25k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Line | Count | Source | 2234 | 4 | SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) { | 2235 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2236 | 4 | recordClonedInstruction( | 2237 | 4 | Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()), | 2238 | 4 | getOpValue(Inst->getOperand()), | 2239 | 4 | Inst->getElement())); | 2240 | 4 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Line | Count | Source | 2234 | 24 | SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) { | 2235 | 24 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2236 | 24 | recordClonedInstruction( | 2237 | 24 | Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()), | 2238 | 24 | getOpValue(Inst->getOperand()), | 2239 | 24 | Inst->getElement())); | 2240 | 24 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Line | Count | Source | 2234 | 103 | SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) { | 2235 | 103 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2236 | 103 | recordClonedInstruction( | 2237 | 103 | Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()), | 2238 | 103 | getOpValue(Inst->getOperand()), | 2239 | 103 | Inst->getElement())); | 2240 | 103 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Line | Count | Source | 2234 | 2 | SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) { | 2235 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2236 | 2 | recordClonedInstruction( | 2237 | 2 | Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()), | 2238 | 2 | getOpValue(Inst->getOperand()), | 2239 | 2 | Inst->getElement())); | 2240 | 2 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Line | Count | Source | 2234 | 4.22k | SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) { | 2235 | 4.22k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2236 | 4.22k | recordClonedInstruction( | 2237 | 4.22k | Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()), | 2238 | 4.22k | getOpValue(Inst->getOperand()), | 2239 | 4.22k | Inst->getElement())); | 2240 | 4.22k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE Line | Count | Source | 2234 | 4.89k | SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) { | 2235 | 4.89k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2236 | 4.89k | recordClonedInstruction( | 2237 | 4.89k | Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()), | 2238 | 4.89k | getOpValue(Inst->getOperand()), | 2239 | 4.89k | Inst->getElement())); | 2240 | 4.89k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE |
2241 | | |
2242 | | template<typename ImplClass> |
2243 | | void |
2244 | 47.4k | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { |
2245 | 47.4k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2246 | 47.4k | recordClonedInstruction( |
2247 | 47.4k | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), |
2248 | 47.4k | getOpType(Inst->getType()))); |
2249 | 47.4k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitMetatypeInstEPNS_12MetatypeInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitMetatypeInstEPNS_12MetatypeInstE Line | Count | Source | 2244 | 420 | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { | 2245 | 420 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2246 | 420 | recordClonedInstruction( | 2247 | 420 | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), | 2248 | 420 | getOpType(Inst->getType()))); | 2249 | 420 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitMetatypeInstEPNS_12MetatypeInstE Line | Count | Source | 2244 | 1.58k | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { | 2245 | 1.58k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2246 | 1.58k | recordClonedInstruction( | 2247 | 1.58k | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), | 2248 | 1.58k | getOpType(Inst->getType()))); | 2249 | 1.58k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Line | Count | Source | 2244 | 126 | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { | 2245 | 126 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2246 | 126 | recordClonedInstruction( | 2247 | 126 | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), | 2248 | 126 | getOpType(Inst->getType()))); | 2249 | 126 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Line | Count | Source | 2244 | 204 | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { | 2245 | 204 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2246 | 204 | recordClonedInstruction( | 2247 | 204 | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), | 2248 | 204 | getOpType(Inst->getType()))); | 2249 | 204 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitMetatypeInstEPNS_12MetatypeInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Line | Count | Source | 2244 | 202 | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { | 2245 | 202 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2246 | 202 | recordClonedInstruction( | 2247 | 202 | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), | 2248 | 202 | getOpType(Inst->getType()))); | 2249 | 202 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitMetatypeInstEPNS_12MetatypeInstE Line | Count | Source | 2244 | 3 | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { | 2245 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2246 | 3 | recordClonedInstruction( | 2247 | 3 | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), | 2248 | 3 | getOpType(Inst->getType()))); | 2249 | 3 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitMetatypeInstEPNS_12MetatypeInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Line | Count | Source | 2244 | 8 | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { | 2245 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2246 | 8 | recordClonedInstruction( | 2247 | 8 | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), | 2248 | 8 | getOpType(Inst->getType()))); | 2249 | 8 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitMetatypeInstEPNS_12MetatypeInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Line | Count | Source | 2244 | 74 | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { | 2245 | 74 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2246 | 74 | recordClonedInstruction( | 2247 | 74 | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), | 2248 | 74 | getOpType(Inst->getType()))); | 2249 | 74 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitMetatypeInstEPNS_12MetatypeInstE _ZN5swift9SILClonerINS_13GenericClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Line | Count | Source | 2244 | 17.2k | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { | 2245 | 17.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2246 | 17.2k | recordClonedInstruction( | 2247 | 17.2k | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), | 2248 | 17.2k | getOpType(Inst->getType()))); | 2249 | 17.2k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitMetatypeInstEPNS_12MetatypeInstE Line | Count | Source | 2244 | 27.6k | SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) { | 2245 | 27.6k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2246 | 27.6k | recordClonedInstruction( | 2247 | 27.6k | Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()), | 2248 | 27.6k | getOpType(Inst->getType()))); | 2249 | 27.6k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitMetatypeInstEPNS_12MetatypeInstE |
2250 | | |
2251 | | template<typename ImplClass> |
2252 | | void |
2253 | 41 | SILCloner<ImplClass>::visitValueMetatypeInst(ValueMetatypeInst *Inst) { |
2254 | 41 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2255 | 41 | recordClonedInstruction( |
2256 | 41 | Inst, getBuilder().createValueMetatype(getOpLocation(Inst->getLoc()), |
2257 | 41 | getOpType(Inst->getType()), |
2258 | 41 | getOpValue(Inst->getOperand()))); |
2259 | 41 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Line | Count | Source | 2253 | 8 | SILCloner<ImplClass>::visitValueMetatypeInst(ValueMetatypeInst *Inst) { | 2254 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2255 | 8 | recordClonedInstruction( | 2256 | 8 | Inst, getBuilder().createValueMetatype(getOpLocation(Inst->getLoc()), | 2257 | 8 | getOpType(Inst->getType()), | 2258 | 8 | getOpValue(Inst->getOperand()))); | 2259 | 8 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE _ZN5swift9SILClonerINS_13GenericClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Line | Count | Source | 2253 | 14 | SILCloner<ImplClass>::visitValueMetatypeInst(ValueMetatypeInst *Inst) { | 2254 | 14 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2255 | 14 | recordClonedInstruction( | 2256 | 14 | Inst, getBuilder().createValueMetatype(getOpLocation(Inst->getLoc()), | 2257 | 14 | getOpType(Inst->getType()), | 2258 | 14 | getOpValue(Inst->getOperand()))); | 2259 | 14 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE Line | Count | Source | 2253 | 19 | SILCloner<ImplClass>::visitValueMetatypeInst(ValueMetatypeInst *Inst) { | 2254 | 19 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2255 | 19 | recordClonedInstruction( | 2256 | 19 | Inst, getBuilder().createValueMetatype(getOpLocation(Inst->getLoc()), | 2257 | 19 | getOpType(Inst->getType()), | 2258 | 19 | getOpValue(Inst->getOperand()))); | 2259 | 19 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE |
2260 | | |
2261 | | template<typename ImplClass> |
2262 | | void |
2263 | | SILCloner<ImplClass>:: |
2264 | 1.06k | visitExistentialMetatypeInst(ExistentialMetatypeInst *Inst) { |
2265 | 1.06k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2266 | 1.06k | recordClonedInstruction(Inst, getBuilder().createExistentialMetatype( |
2267 | 1.06k | getOpLocation(Inst->getLoc()), |
2268 | 1.06k | getOpType(Inst->getType()), |
2269 | 1.06k | getOpValue(Inst->getOperand()))); |
2270 | 1.06k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Line | Count | Source | 2264 | 1 | visitExistentialMetatypeInst(ExistentialMetatypeInst *Inst) { | 2265 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2266 | 1 | recordClonedInstruction(Inst, getBuilder().createExistentialMetatype( | 2267 | 1 | getOpLocation(Inst->getLoc()), | 2268 | 1 | getOpType(Inst->getType()), | 2269 | 1 | getOpValue(Inst->getOperand()))); | 2270 | 1 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Line | Count | Source | 2264 | 4 | visitExistentialMetatypeInst(ExistentialMetatypeInst *Inst) { | 2265 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2266 | 4 | recordClonedInstruction(Inst, getBuilder().createExistentialMetatype( | 2267 | 4 | getOpLocation(Inst->getLoc()), | 2268 | 4 | getOpType(Inst->getType()), | 2269 | 4 | getOpValue(Inst->getOperand()))); | 2270 | 4 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE _ZN5swift9SILClonerINS_13GenericClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Line | Count | Source | 2264 | 989 | visitExistentialMetatypeInst(ExistentialMetatypeInst *Inst) { | 2265 | 989 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2266 | 989 | recordClonedInstruction(Inst, getBuilder().createExistentialMetatype( | 2267 | 989 | getOpLocation(Inst->getLoc()), | 2268 | 989 | getOpType(Inst->getType()), | 2269 | 989 | getOpValue(Inst->getOperand()))); | 2270 | 989 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE Line | Count | Source | 2264 | 73 | visitExistentialMetatypeInst(ExistentialMetatypeInst *Inst) { | 2265 | 73 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2266 | 73 | recordClonedInstruction(Inst, getBuilder().createExistentialMetatype( | 2267 | 73 | getOpLocation(Inst->getLoc()), | 2268 | 73 | getOpType(Inst->getType()), | 2269 | 73 | getOpValue(Inst->getOperand()))); | 2270 | 73 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE |
2271 | | |
2272 | | template<typename ImplClass> |
2273 | | void |
2274 | 117k | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { |
2275 | 117k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2276 | 117k | recordClonedInstruction( |
2277 | 117k | Inst, getBuilder().createTupleExtract( |
2278 | 117k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2279 | 117k | Inst->getFieldIndex(), getOpType(Inst->getType()), |
2280 | 117k | getBuilder().hasOwnership() |
2281 | 117k | ? Inst->getForwardingOwnershipKind() |
2282 | 117k | : ValueOwnershipKind(OwnershipKind::None))); |
2283 | 117k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitTupleExtractInstEPNS_16TupleExtractInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 4 | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 4 | recordClonedInstruction( | 2277 | 4 | Inst, getBuilder().createTupleExtract( | 2278 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 4 | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 4 | getBuilder().hasOwnership() | 2281 | 4 | ? Inst->getForwardingOwnershipKind() | 2282 | 4 | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 4 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 296 | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 296 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 296 | recordClonedInstruction( | 2277 | 296 | Inst, getBuilder().createTupleExtract( | 2278 | 296 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 296 | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 296 | getBuilder().hasOwnership() | 2281 | 296 | ? Inst->getForwardingOwnershipKind() | 2282 | 296 | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 296 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 52 | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 52 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 52 | recordClonedInstruction( | 2277 | 52 | Inst, getBuilder().createTupleExtract( | 2278 | 52 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 52 | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 52 | getBuilder().hasOwnership() | 2281 | 52 | ? Inst->getForwardingOwnershipKind() | 2282 | 52 | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 52 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 21 | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 21 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 21 | recordClonedInstruction( | 2277 | 21 | Inst, getBuilder().createTupleExtract( | 2278 | 21 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 21 | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 21 | getBuilder().hasOwnership() | 2281 | 21 | ? Inst->getForwardingOwnershipKind() | 2282 | 21 | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 21 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 1.50k | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 1.50k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 1.50k | recordClonedInstruction( | 2277 | 1.50k | Inst, getBuilder().createTupleExtract( | 2278 | 1.50k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 1.50k | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 1.50k | getBuilder().hasOwnership() | 2281 | 1.50k | ? Inst->getForwardingOwnershipKind() | 2282 | 1.50k | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 1.50k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 2 | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 2 | recordClonedInstruction( | 2277 | 2 | Inst, getBuilder().createTupleExtract( | 2278 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 2 | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 2 | getBuilder().hasOwnership() | 2281 | 2 | ? Inst->getForwardingOwnershipKind() | 2282 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 2 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 18 | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 18 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 18 | recordClonedInstruction( | 2277 | 18 | Inst, getBuilder().createTupleExtract( | 2278 | 18 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 18 | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 18 | getBuilder().hasOwnership() | 2281 | 18 | ? Inst->getForwardingOwnershipKind() | 2282 | 18 | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 18 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 5.22k | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 5.22k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 5.22k | recordClonedInstruction( | 2277 | 5.22k | Inst, getBuilder().createTupleExtract( | 2278 | 5.22k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 5.22k | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 5.22k | getBuilder().hasOwnership() | 2281 | 5.22k | ? Inst->getForwardingOwnershipKind() | 2282 | 5.22k | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 5.22k | } |
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 68 | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 68 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 68 | recordClonedInstruction( | 2277 | 68 | Inst, getBuilder().createTupleExtract( | 2278 | 68 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 68 | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 68 | getBuilder().hasOwnership() | 2281 | 68 | ? Inst->getForwardingOwnershipKind() | 2282 | 68 | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 68 | } |
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitTupleExtractInstEPNS_16TupleExtractInstE _ZN5swift9SILClonerINS_13GenericClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 10.2k | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 10.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 10.2k | recordClonedInstruction( | 2277 | 10.2k | Inst, getBuilder().createTupleExtract( | 2278 | 10.2k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 10.2k | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 10.2k | getBuilder().hasOwnership() | 2281 | 10.2k | ? Inst->getForwardingOwnershipKind() | 2282 | 10.2k | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 10.2k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 99.7k | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 99.7k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 99.7k | recordClonedInstruction( | 2277 | 99.7k | Inst, getBuilder().createTupleExtract( | 2278 | 99.7k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 99.7k | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 99.7k | getBuilder().hasOwnership() | 2281 | 99.7k | ? Inst->getForwardingOwnershipKind() | 2282 | 99.7k | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 99.7k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE Line | Count | Source | 2274 | 225 | SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) { | 2275 | 225 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2276 | 225 | recordClonedInstruction( | 2277 | 225 | Inst, getBuilder().createTupleExtract( | 2278 | 225 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2279 | 225 | Inst->getFieldIndex(), getOpType(Inst->getType()), | 2280 | 225 | getBuilder().hasOwnership() | 2281 | 225 | ? Inst->getForwardingOwnershipKind() | 2282 | 225 | : ValueOwnershipKind(OwnershipKind::None))); | 2283 | 225 | } |
|
2284 | | |
2285 | | template<typename ImplClass> |
2286 | | void |
2287 | 9.42k | SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) { |
2288 | 9.42k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2289 | 9.42k | recordClonedInstruction( |
2290 | 9.42k | Inst, getBuilder().createTupleElementAddr( |
2291 | 9.42k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2292 | 9.42k | Inst->getFieldIndex(), getOpType(Inst->getType()))); |
2293 | 9.42k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Line | Count | Source | 2287 | 82 | SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) { | 2288 | 82 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2289 | 82 | recordClonedInstruction( | 2290 | 82 | Inst, getBuilder().createTupleElementAddr( | 2291 | 82 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2292 | 82 | Inst->getFieldIndex(), getOpType(Inst->getType()))); | 2293 | 82 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Line | Count | Source | 2287 | 364 | SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) { | 2288 | 364 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2289 | 364 | recordClonedInstruction( | 2290 | 364 | Inst, getBuilder().createTupleElementAddr( | 2291 | 364 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2292 | 364 | Inst->getFieldIndex(), getOpType(Inst->getType()))); | 2293 | 364 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Line | Count | Source | 2287 | 44 | SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) { | 2288 | 44 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2289 | 44 | recordClonedInstruction( | 2290 | 44 | Inst, getBuilder().createTupleElementAddr( | 2291 | 44 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2292 | 44 | Inst->getFieldIndex(), getOpType(Inst->getType()))); | 2293 | 44 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Line | Count | Source | 2287 | 6 | SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) { | 2288 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2289 | 6 | recordClonedInstruction( | 2290 | 6 | Inst, getBuilder().createTupleElementAddr( | 2291 | 6 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2292 | 6 | Inst->getFieldIndex(), getOpType(Inst->getType()))); | 2293 | 6 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Line | Count | Source | 2287 | 92 | SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) { | 2288 | 92 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2289 | 92 | recordClonedInstruction( | 2290 | 92 | Inst, getBuilder().createTupleElementAddr( | 2291 | 92 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2292 | 92 | Inst->getFieldIndex(), getOpType(Inst->getType()))); | 2293 | 92 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Line | Count | Source | 2287 | 4 | SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) { | 2288 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2289 | 4 | recordClonedInstruction( | 2290 | 4 | Inst, getBuilder().createTupleElementAddr( | 2291 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2292 | 4 | Inst->getFieldIndex(), getOpType(Inst->getType()))); | 2293 | 4 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Line | Count | Source | 2287 | 4.65k | SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) { | 2288 | 4.65k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2289 | 4.65k | recordClonedInstruction( | 2290 | 4.65k | Inst, getBuilder().createTupleElementAddr( | 2291 | 4.65k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2292 | 4.65k | Inst->getFieldIndex(), getOpType(Inst->getType()))); | 2293 | 4.65k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE Line | Count | Source | 2287 | 4.17k | SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) { | 2288 | 4.17k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2289 | 4.17k | recordClonedInstruction( | 2290 | 4.17k | Inst, getBuilder().createTupleElementAddr( | 2291 | 4.17k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2292 | 4.17k | Inst->getFieldIndex(), getOpType(Inst->getType()))); | 2293 | 4.17k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE |
2294 | | |
2295 | | template<typename ImplClass> |
2296 | | void |
2297 | 250k | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { |
2298 | 250k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2299 | 250k | recordClonedInstruction( |
2300 | 250k | Inst, getBuilder().createStructExtract( |
2301 | 250k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2302 | 250k | Inst->getField(), getOpType(Inst->getType()), |
2303 | 250k | getBuilder().hasOwnership() |
2304 | 250k | ? Inst->getForwardingOwnershipKind() |
2305 | 250k | : ValueOwnershipKind(OwnershipKind::None))); |
2306 | 250k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitStructExtractInstEPNS_17StructExtractInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 55 | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 55 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 55 | recordClonedInstruction( | 2300 | 55 | Inst, getBuilder().createStructExtract( | 2301 | 55 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 55 | Inst->getField(), getOpType(Inst->getType()), | 2303 | 55 | getBuilder().hasOwnership() | 2304 | 55 | ? Inst->getForwardingOwnershipKind() | 2305 | 55 | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 55 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 213 | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 213 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 213 | recordClonedInstruction( | 2300 | 213 | Inst, getBuilder().createStructExtract( | 2301 | 213 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 213 | Inst->getField(), getOpType(Inst->getType()), | 2303 | 213 | getBuilder().hasOwnership() | 2304 | 213 | ? Inst->getForwardingOwnershipKind() | 2305 | 213 | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 213 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 2.04k | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 2.04k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 2.04k | recordClonedInstruction( | 2300 | 2.04k | Inst, getBuilder().createStructExtract( | 2301 | 2.04k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 2.04k | Inst->getField(), getOpType(Inst->getType()), | 2303 | 2.04k | getBuilder().hasOwnership() | 2304 | 2.04k | ? Inst->getForwardingOwnershipKind() | 2305 | 2.04k | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 2.04k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 1.35k | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 1.35k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 1.35k | recordClonedInstruction( | 2300 | 1.35k | Inst, getBuilder().createStructExtract( | 2301 | 1.35k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 1.35k | Inst->getField(), getOpType(Inst->getType()), | 2303 | 1.35k | getBuilder().hasOwnership() | 2304 | 1.35k | ? Inst->getForwardingOwnershipKind() | 2305 | 1.35k | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 1.35k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 35 | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 35 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 35 | recordClonedInstruction( | 2300 | 35 | Inst, getBuilder().createStructExtract( | 2301 | 35 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 35 | Inst->getField(), getOpType(Inst->getType()), | 2303 | 35 | getBuilder().hasOwnership() | 2304 | 35 | ? Inst->getForwardingOwnershipKind() | 2305 | 35 | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 35 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 2.87k | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 2.87k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 2.87k | recordClonedInstruction( | 2300 | 2.87k | Inst, getBuilder().createStructExtract( | 2301 | 2.87k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 2.87k | Inst->getField(), getOpType(Inst->getType()), | 2303 | 2.87k | getBuilder().hasOwnership() | 2304 | 2.87k | ? Inst->getForwardingOwnershipKind() | 2305 | 2.87k | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 2.87k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 30 | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 30 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 30 | recordClonedInstruction( | 2300 | 30 | Inst, getBuilder().createStructExtract( | 2301 | 30 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 30 | Inst->getField(), getOpType(Inst->getType()), | 2303 | 30 | getBuilder().hasOwnership() | 2304 | 30 | ? Inst->getForwardingOwnershipKind() | 2305 | 30 | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 30 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitStructExtractInstEPNS_17StructExtractInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 26 | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 26 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 26 | recordClonedInstruction( | 2300 | 26 | Inst, getBuilder().createStructExtract( | 2301 | 26 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 26 | Inst->getField(), getOpType(Inst->getType()), | 2303 | 26 | getBuilder().hasOwnership() | 2304 | 26 | ? Inst->getForwardingOwnershipKind() | 2305 | 26 | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 26 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitStructExtractInstEPNS_17StructExtractInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 13 | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 13 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 13 | recordClonedInstruction( | 2300 | 13 | Inst, getBuilder().createStructExtract( | 2301 | 13 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 13 | Inst->getField(), getOpType(Inst->getType()), | 2303 | 13 | getBuilder().hasOwnership() | 2304 | 13 | ? Inst->getForwardingOwnershipKind() | 2305 | 13 | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 13 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitStructExtractInstEPNS_17StructExtractInstE _ZN5swift9SILClonerINS_13GenericClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 80.5k | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 80.5k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 80.5k | recordClonedInstruction( | 2300 | 80.5k | Inst, getBuilder().createStructExtract( | 2301 | 80.5k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 80.5k | Inst->getField(), getOpType(Inst->getType()), | 2303 | 80.5k | getBuilder().hasOwnership() | 2304 | 80.5k | ? Inst->getForwardingOwnershipKind() | 2305 | 80.5k | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 80.5k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 162k | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 162k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 162k | recordClonedInstruction( | 2300 | 162k | Inst, getBuilder().createStructExtract( | 2301 | 162k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 162k | Inst->getField(), getOpType(Inst->getType()), | 2303 | 162k | getBuilder().hasOwnership() | 2304 | 162k | ? Inst->getForwardingOwnershipKind() | 2305 | 162k | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 162k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitStructExtractInstEPNS_17StructExtractInstE Line | Count | Source | 2297 | 208 | SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) { | 2298 | 208 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2299 | 208 | recordClonedInstruction( | 2300 | 208 | Inst, getBuilder().createStructExtract( | 2301 | 208 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2302 | 208 | Inst->getField(), getOpType(Inst->getType()), | 2303 | 208 | getBuilder().hasOwnership() | 2304 | 208 | ? Inst->getForwardingOwnershipKind() | 2305 | 208 | : ValueOwnershipKind(OwnershipKind::None))); | 2306 | 208 | } |
|
2307 | | |
2308 | | template<typename ImplClass> |
2309 | | void |
2310 | 138k | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { |
2311 | 138k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2312 | 138k | recordClonedInstruction( |
2313 | 138k | Inst, getBuilder().createStructElementAddr( |
2314 | 138k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2315 | 138k | Inst->getField(), getOpType(Inst->getType()))); |
2316 | 138k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 46 | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 46 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 46 | recordClonedInstruction( | 2313 | 46 | Inst, getBuilder().createStructElementAddr( | 2314 | 46 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 46 | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 46 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 313 | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 313 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 313 | recordClonedInstruction( | 2313 | 313 | Inst, getBuilder().createStructElementAddr( | 2314 | 313 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 313 | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 313 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 502 | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 502 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 502 | recordClonedInstruction( | 2313 | 502 | Inst, getBuilder().createStructElementAddr( | 2314 | 502 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 502 | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 502 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 302 | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 302 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 302 | recordClonedInstruction( | 2313 | 302 | Inst, getBuilder().createStructElementAddr( | 2314 | 302 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 302 | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 302 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 2.20k | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 2.20k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 2.20k | recordClonedInstruction( | 2313 | 2.20k | Inst, getBuilder().createStructElementAddr( | 2314 | 2.20k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 2.20k | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 2.20k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 4 | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 4 | recordClonedInstruction( | 2313 | 4 | Inst, getBuilder().createStructElementAddr( | 2314 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 4 | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 4 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 30 | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 30 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 30 | recordClonedInstruction( | 2313 | 30 | Inst, getBuilder().createStructElementAddr( | 2314 | 30 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 30 | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 30 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 2.59k | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 2.59k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 2.59k | recordClonedInstruction( | 2313 | 2.59k | Inst, getBuilder().createStructElementAddr( | 2314 | 2.59k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 2.59k | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 2.59k | } |
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 16 | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 16 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 16 | recordClonedInstruction( | 2313 | 16 | Inst, getBuilder().createStructElementAddr( | 2314 | 16 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 16 | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 16 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 33.8k | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 33.8k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 33.8k | recordClonedInstruction( | 2313 | 33.8k | Inst, getBuilder().createStructElementAddr( | 2314 | 33.8k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 33.8k | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 33.8k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 97.9k | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 97.9k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 97.9k | recordClonedInstruction( | 2313 | 97.9k | Inst, getBuilder().createStructElementAddr( | 2314 | 97.9k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 97.9k | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 97.9k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE Line | Count | Source | 2310 | 403 | SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) { | 2311 | 403 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2312 | 403 | recordClonedInstruction( | 2313 | 403 | Inst, getBuilder().createStructElementAddr( | 2314 | 403 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2315 | 403 | Inst->getField(), getOpType(Inst->getType()))); | 2316 | 403 | } |
|
2317 | | |
2318 | | template<typename ImplClass> |
2319 | | void |
2320 | 15.7k | SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) { |
2321 | 15.7k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2322 | 15.7k | recordClonedInstruction( |
2323 | 15.7k | Inst, getBuilder().createRefElementAddr( |
2324 | 15.7k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2325 | 15.7k | Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable())); |
2326 | 15.7k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Line | Count | Source | 2320 | 47 | SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) { | 2321 | 47 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2322 | 47 | recordClonedInstruction( | 2323 | 47 | Inst, getBuilder().createRefElementAddr( | 2324 | 47 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2325 | 47 | Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable())); | 2326 | 47 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Line | Count | Source | 2320 | 38 | SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) { | 2321 | 38 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2322 | 38 | recordClonedInstruction( | 2323 | 38 | Inst, getBuilder().createRefElementAddr( | 2324 | 38 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2325 | 38 | Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable())); | 2326 | 38 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Line | Count | Source | 2320 | 7 | SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) { | 2321 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2322 | 7 | recordClonedInstruction( | 2323 | 7 | Inst, getBuilder().createRefElementAddr( | 2324 | 7 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2325 | 7 | Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable())); | 2326 | 7 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Line | Count | Source | 2320 | 302 | SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) { | 2321 | 302 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2322 | 302 | recordClonedInstruction( | 2323 | 302 | Inst, getBuilder().createRefElementAddr( | 2324 | 302 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2325 | 302 | Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable())); | 2326 | 302 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Line | Count | Source | 2320 | 3 | SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) { | 2321 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2322 | 3 | recordClonedInstruction( | 2323 | 3 | Inst, getBuilder().createRefElementAddr( | 2324 | 3 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2325 | 3 | Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable())); | 2326 | 3 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Line | Count | Source | 2320 | 6 | SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) { | 2321 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2322 | 6 | recordClonedInstruction( | 2323 | 6 | Inst, getBuilder().createRefElementAddr( | 2324 | 6 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2325 | 6 | Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable())); | 2326 | 6 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Line | Count | Source | 2320 | 7.94k | SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) { | 2321 | 7.94k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2322 | 7.94k | recordClonedInstruction( | 2323 | 7.94k | Inst, getBuilder().createRefElementAddr( | 2324 | 7.94k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2325 | 7.94k | Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable())); | 2326 | 7.94k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Line | Count | Source | 2320 | 7.41k | SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) { | 2321 | 7.41k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2322 | 7.41k | recordClonedInstruction( | 2323 | 7.41k | Inst, getBuilder().createRefElementAddr( | 2324 | 7.41k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2325 | 7.41k | Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable())); | 2326 | 7.41k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE Line | Count | Source | 2320 | 9 | SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) { | 2321 | 9 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2322 | 9 | recordClonedInstruction( | 2323 | 9 | Inst, getBuilder().createRefElementAddr( | 2324 | 9 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2325 | 9 | Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable())); | 2326 | 9 | } |
|
2327 | | |
2328 | | template<typename ImplClass> |
2329 | | void |
2330 | 7.24k | SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) { |
2331 | 7.24k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2332 | 7.24k | recordClonedInstruction( |
2333 | 7.24k | Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()), |
2334 | 7.24k | getOpValue(Inst->getOperand()), |
2335 | 7.24k | getOpType(Inst->getType()), |
2336 | 7.24k | Inst->isImmutable())); |
2337 | 7.24k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Line | Count | Source | 2330 | 8 | SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) { | 2331 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2332 | 8 | recordClonedInstruction( | 2333 | 8 | Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()), | 2334 | 8 | getOpValue(Inst->getOperand()), | 2335 | 8 | getOpType(Inst->getType()), | 2336 | 8 | Inst->isImmutable())); | 2337 | 8 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Line | Count | Source | 2330 | 24 | SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) { | 2331 | 24 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2332 | 24 | recordClonedInstruction( | 2333 | 24 | Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()), | 2334 | 24 | getOpValue(Inst->getOperand()), | 2335 | 24 | getOpType(Inst->getType()), | 2336 | 24 | Inst->isImmutable())); | 2337 | 24 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Line | Count | Source | 2330 | 193 | SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) { | 2331 | 193 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2332 | 193 | recordClonedInstruction( | 2333 | 193 | Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()), | 2334 | 193 | getOpValue(Inst->getOperand()), | 2335 | 193 | getOpType(Inst->getType()), | 2336 | 193 | Inst->isImmutable())); | 2337 | 193 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Line | Count | Source | 2330 | 3.40k | SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) { | 2331 | 3.40k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2332 | 3.40k | recordClonedInstruction( | 2333 | 3.40k | Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()), | 2334 | 3.40k | getOpValue(Inst->getOperand()), | 2335 | 3.40k | getOpType(Inst->getType()), | 2336 | 3.40k | Inst->isImmutable())); | 2337 | 3.40k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Line | Count | Source | 2330 | 3.52k | SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) { | 2331 | 3.52k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2332 | 3.52k | recordClonedInstruction( | 2333 | 3.52k | Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()), | 2334 | 3.52k | getOpValue(Inst->getOperand()), | 2335 | 3.52k | getOpType(Inst->getType()), | 2336 | 3.52k | Inst->isImmutable())); | 2337 | 3.52k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE Line | Count | Source | 2330 | 88 | SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) { | 2331 | 88 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2332 | 88 | recordClonedInstruction( | 2333 | 88 | Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()), | 2334 | 88 | getOpValue(Inst->getOperand()), | 2335 | 88 | getOpType(Inst->getType()), | 2336 | 88 | Inst->isImmutable())); | 2337 | 88 | } |
|
2338 | | |
2339 | | template <typename ImplClass> |
2340 | | void SILCloner<ImplClass>::visitDestructureStructInst( |
2341 | 37.2k | DestructureStructInst *Inst) { |
2342 | 37.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2343 | | |
2344 | 37.2k | if (!getBuilder().hasOwnership()) { |
2345 | 756 | getBuilder().emitDestructureValueOperation( |
2346 | 756 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2347 | 838 | [&](unsigned index, SILValue value) { |
2348 | 838 | recordFoldedValue(Inst->getResults()[index], value); |
2349 | 838 | }); Unexecuted instantiation: LoadableByAddress.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS7_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS7_ Unexecuted instantiation: ExistentialTransform.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: CapturePropagation.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: ClosureSpecializer.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: CrossModuleOptimization.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: LetPropertiesOpts.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: LoopUnroll.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: CapturePromotion.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_ Unexecuted instantiation: AllocBoxToStack.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: CSE.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_16BasicBlockClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_ Unexecuted instantiation: SerializeSILPass.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_13GenericClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_ _ZZN5swift9SILClonerINS_15SILInlineClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_ Line | Count | Source | 2347 | 838 | [&](unsigned index, SILValue value) { | 2348 | 838 | recordFoldedValue(Inst->getResults()[index], value); | 2349 | 838 | }); |
Unexecuted instantiation: _ZZN5swift9SILClonerINS_17SILFunctionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_ Unexecuted instantiation: SILInstruction.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_ |
2350 | 756 | return; |
2351 | 756 | } |
2352 | | |
2353 | 36.5k | recordClonedInstruction( |
2354 | 36.5k | Inst, getBuilder().createDestructureStruct( |
2355 | 36.5k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2356 | 36.5k | getBuilder().hasOwnership() |
2357 | 36.5k | ? Inst->getForwardingOwnershipKind() |
2358 | 36.5k | : ValueOwnershipKind(OwnershipKind::None))); |
2359 | 36.5k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Line | Count | Source | 2341 | 799 | DestructureStructInst *Inst) { | 2342 | 799 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2343 | | | 2344 | 799 | if (!getBuilder().hasOwnership()) { | 2345 | 0 | getBuilder().emitDestructureValueOperation( | 2346 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2347 | 0 | [&](unsigned index, SILValue value) { | 2348 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2349 | 0 | }); | 2350 | 0 | return; | 2351 | 0 | } | 2352 | | | 2353 | 799 | recordClonedInstruction( | 2354 | 799 | Inst, getBuilder().createDestructureStruct( | 2355 | 799 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2356 | 799 | getBuilder().hasOwnership() | 2357 | 799 | ? Inst->getForwardingOwnershipKind() | 2358 | 799 | : ValueOwnershipKind(OwnershipKind::None))); | 2359 | 799 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitDestructureStructInstEPNS_21DestructureStructInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Line | Count | Source | 2341 | 10 | DestructureStructInst *Inst) { | 2342 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2343 | | | 2344 | 10 | if (!getBuilder().hasOwnership()) { | 2345 | 0 | getBuilder().emitDestructureValueOperation( | 2346 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2347 | 0 | [&](unsigned index, SILValue value) { | 2348 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2349 | 0 | }); | 2350 | 0 | return; | 2351 | 0 | } | 2352 | | | 2353 | 10 | recordClonedInstruction( | 2354 | 10 | Inst, getBuilder().createDestructureStruct( | 2355 | 10 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2356 | 10 | getBuilder().hasOwnership() | 2357 | 10 | ? Inst->getForwardingOwnershipKind() | 2358 | 10 | : ValueOwnershipKind(OwnershipKind::None))); | 2359 | 10 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitDestructureStructInstEPNS_21DestructureStructInstE _ZN5swift9SILClonerINS_13GenericClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Line | Count | Source | 2341 | 9.99k | DestructureStructInst *Inst) { | 2342 | 9.99k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2343 | | | 2344 | 9.99k | if (!getBuilder().hasOwnership()) { | 2345 | 0 | getBuilder().emitDestructureValueOperation( | 2346 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2347 | 0 | [&](unsigned index, SILValue value) { | 2348 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2349 | 0 | }); | 2350 | 0 | return; | 2351 | 0 | } | 2352 | | | 2353 | 9.99k | recordClonedInstruction( | 2354 | 9.99k | Inst, getBuilder().createDestructureStruct( | 2355 | 9.99k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2356 | 9.99k | getBuilder().hasOwnership() | 2357 | 9.99k | ? Inst->getForwardingOwnershipKind() | 2358 | 9.99k | : ValueOwnershipKind(OwnershipKind::None))); | 2359 | 9.99k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Line | Count | Source | 2341 | 26.3k | DestructureStructInst *Inst) { | 2342 | 26.3k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2343 | | | 2344 | 26.3k | if (!getBuilder().hasOwnership()) { | 2345 | 756 | getBuilder().emitDestructureValueOperation( | 2346 | 756 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2347 | 756 | [&](unsigned index, SILValue value) { | 2348 | 756 | recordFoldedValue(Inst->getResults()[index], value); | 2349 | 756 | }); | 2350 | 756 | return; | 2351 | 756 | } | 2352 | | | 2353 | 25.5k | recordClonedInstruction( | 2354 | 25.5k | Inst, getBuilder().createDestructureStruct( | 2355 | 25.5k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2356 | 25.5k | getBuilder().hasOwnership() | 2357 | 25.5k | ? Inst->getForwardingOwnershipKind() | 2358 | 25.5k | : ValueOwnershipKind(OwnershipKind::None))); | 2359 | 25.5k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE Line | Count | Source | 2341 | 187 | DestructureStructInst *Inst) { | 2342 | 187 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2343 | | | 2344 | 187 | if (!getBuilder().hasOwnership()) { | 2345 | 0 | getBuilder().emitDestructureValueOperation( | 2346 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2347 | 0 | [&](unsigned index, SILValue value) { | 2348 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2349 | 0 | }); | 2350 | 0 | return; | 2351 | 0 | } | 2352 | | | 2353 | 187 | recordClonedInstruction( | 2354 | 187 | Inst, getBuilder().createDestructureStruct( | 2355 | 187 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2356 | 187 | getBuilder().hasOwnership() | 2357 | 187 | ? Inst->getForwardingOwnershipKind() | 2358 | 187 | : ValueOwnershipKind(OwnershipKind::None))); | 2359 | 187 | } |
|
2360 | | |
2361 | | template <typename ImplClass> |
2362 | | void SILCloner<ImplClass>::visitDestructureTupleInst( |
2363 | 41.7k | DestructureTupleInst *Inst) { |
2364 | 41.7k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2365 | 41.7k | if (!getBuilder().hasOwnership()) { |
2366 | 402 | getBuilder().emitDestructureValueOperation( |
2367 | 402 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2368 | 804 | [&](unsigned index, SILValue value) { |
2369 | 804 | recordFoldedValue(Inst->getResults()[index], value); |
2370 | 804 | }); Unexecuted instantiation: LoadableByAddress.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS7_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS7_ Unexecuted instantiation: ExistentialTransform.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: CapturePropagation.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: ClosureSpecializer.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: CrossModuleOptimization.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: LetPropertiesOpts.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: LoopUnroll.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: CapturePromotion.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_ Unexecuted instantiation: AllocBoxToStack.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: CSE.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_16BasicBlockClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_ Unexecuted instantiation: SerializeSILPass.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_13GenericClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_ _ZZN5swift9SILClonerINS_15SILInlineClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_ Line | Count | Source | 2368 | 804 | [&](unsigned index, SILValue value) { | 2369 | 804 | recordFoldedValue(Inst->getResults()[index], value); | 2370 | 804 | }); |
Unexecuted instantiation: _ZZN5swift9SILClonerINS_17SILFunctionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_ Unexecuted instantiation: SILInstruction.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_ |
2371 | 402 | return; |
2372 | 402 | } |
2373 | | |
2374 | 41.3k | recordClonedInstruction( |
2375 | 41.3k | Inst, getBuilder().createDestructureTuple( |
2376 | 41.3k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2377 | 41.3k | getBuilder().hasOwnership() |
2378 | 41.3k | ? Inst->getForwardingOwnershipKind() |
2379 | 41.3k | : ValueOwnershipKind(OwnershipKind::None))); |
2380 | 41.3k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Line | Count | Source | 2363 | 6 | DestructureTupleInst *Inst) { | 2364 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2365 | 6 | if (!getBuilder().hasOwnership()) { | 2366 | 0 | getBuilder().emitDestructureValueOperation( | 2367 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2368 | 0 | [&](unsigned index, SILValue value) { | 2369 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2370 | 0 | }); | 2371 | 0 | return; | 2372 | 0 | } | 2373 | | | 2374 | 6 | recordClonedInstruction( | 2375 | 6 | Inst, getBuilder().createDestructureTuple( | 2376 | 6 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2377 | 6 | getBuilder().hasOwnership() | 2378 | 6 | ? Inst->getForwardingOwnershipKind() | 2379 | 6 | : ValueOwnershipKind(OwnershipKind::None))); | 2380 | 6 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Line | Count | Source | 2363 | 115 | DestructureTupleInst *Inst) { | 2364 | 115 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2365 | 115 | if (!getBuilder().hasOwnership()) { | 2366 | 0 | getBuilder().emitDestructureValueOperation( | 2367 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2368 | 0 | [&](unsigned index, SILValue value) { | 2369 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2370 | 0 | }); | 2371 | 0 | return; | 2372 | 0 | } | 2373 | | | 2374 | 115 | recordClonedInstruction( | 2375 | 115 | Inst, getBuilder().createDestructureTuple( | 2376 | 115 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2377 | 115 | getBuilder().hasOwnership() | 2378 | 115 | ? Inst->getForwardingOwnershipKind() | 2379 | 115 | : ValueOwnershipKind(OwnershipKind::None))); | 2380 | 115 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Line | Count | Source | 2363 | 8 | DestructureTupleInst *Inst) { | 2364 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2365 | 8 | if (!getBuilder().hasOwnership()) { | 2366 | 0 | getBuilder().emitDestructureValueOperation( | 2367 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2368 | 0 | [&](unsigned index, SILValue value) { | 2369 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2370 | 0 | }); | 2371 | 0 | return; | 2372 | 0 | } | 2373 | | | 2374 | 8 | recordClonedInstruction( | 2375 | 8 | Inst, getBuilder().createDestructureTuple( | 2376 | 8 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2377 | 8 | getBuilder().hasOwnership() | 2378 | 8 | ? Inst->getForwardingOwnershipKind() | 2379 | 8 | : ValueOwnershipKind(OwnershipKind::None))); | 2380 | 8 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Line | Count | Source | 2363 | 9 | DestructureTupleInst *Inst) { | 2364 | 9 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2365 | 9 | if (!getBuilder().hasOwnership()) { | 2366 | 0 | getBuilder().emitDestructureValueOperation( | 2367 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2368 | 0 | [&](unsigned index, SILValue value) { | 2369 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2370 | 0 | }); | 2371 | 0 | return; | 2372 | 0 | } | 2373 | | | 2374 | 9 | recordClonedInstruction( | 2375 | 9 | Inst, getBuilder().createDestructureTuple( | 2376 | 9 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2377 | 9 | getBuilder().hasOwnership() | 2378 | 9 | ? Inst->getForwardingOwnershipKind() | 2379 | 9 | : ValueOwnershipKind(OwnershipKind::None))); | 2380 | 9 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Line | Count | Source | 2363 | 2 | DestructureTupleInst *Inst) { | 2364 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2365 | 2 | if (!getBuilder().hasOwnership()) { | 2366 | 0 | getBuilder().emitDestructureValueOperation( | 2367 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2368 | 0 | [&](unsigned index, SILValue value) { | 2369 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2370 | 0 | }); | 2371 | 0 | return; | 2372 | 0 | } | 2373 | | | 2374 | 2 | recordClonedInstruction( | 2375 | 2 | Inst, getBuilder().createDestructureTuple( | 2376 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2377 | 2 | getBuilder().hasOwnership() | 2378 | 2 | ? Inst->getForwardingOwnershipKind() | 2379 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 2380 | 2 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Line | Count | Source | 2363 | 1 | DestructureTupleInst *Inst) { | 2364 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2365 | 1 | if (!getBuilder().hasOwnership()) { | 2366 | 0 | getBuilder().emitDestructureValueOperation( | 2367 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2368 | 0 | [&](unsigned index, SILValue value) { | 2369 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2370 | 0 | }); | 2371 | 0 | return; | 2372 | 0 | } | 2373 | | | 2374 | 1 | recordClonedInstruction( | 2375 | 1 | Inst, getBuilder().createDestructureTuple( | 2376 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2377 | 1 | getBuilder().hasOwnership() | 2378 | 1 | ? Inst->getForwardingOwnershipKind() | 2379 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 2380 | 1 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE _ZN5swift9SILClonerINS_13GenericClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Line | Count | Source | 2363 | 17.6k | DestructureTupleInst *Inst) { | 2364 | 17.6k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2365 | 17.6k | if (!getBuilder().hasOwnership()) { | 2366 | 0 | getBuilder().emitDestructureValueOperation( | 2367 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2368 | 0 | [&](unsigned index, SILValue value) { | 2369 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2370 | 0 | }); | 2371 | 0 | return; | 2372 | 0 | } | 2373 | | | 2374 | 17.6k | recordClonedInstruction( | 2375 | 17.6k | Inst, getBuilder().createDestructureTuple( | 2376 | 17.6k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2377 | 17.6k | getBuilder().hasOwnership() | 2378 | 17.6k | ? Inst->getForwardingOwnershipKind() | 2379 | 17.6k | : ValueOwnershipKind(OwnershipKind::None))); | 2380 | 17.6k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Line | Count | Source | 2363 | 23.6k | DestructureTupleInst *Inst) { | 2364 | 23.6k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2365 | 23.6k | if (!getBuilder().hasOwnership()) { | 2366 | 402 | getBuilder().emitDestructureValueOperation( | 2367 | 402 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2368 | 402 | [&](unsigned index, SILValue value) { | 2369 | 402 | recordFoldedValue(Inst->getResults()[index], value); | 2370 | 402 | }); | 2371 | 402 | return; | 2372 | 402 | } | 2373 | | | 2374 | 23.1k | recordClonedInstruction( | 2375 | 23.1k | Inst, getBuilder().createDestructureTuple( | 2376 | 23.1k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2377 | 23.1k | getBuilder().hasOwnership() | 2378 | 23.1k | ? Inst->getForwardingOwnershipKind() | 2379 | 23.1k | : ValueOwnershipKind(OwnershipKind::None))); | 2380 | 23.1k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE Line | Count | Source | 2363 | 402 | DestructureTupleInst *Inst) { | 2364 | 402 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2365 | 402 | if (!getBuilder().hasOwnership()) { | 2366 | 0 | getBuilder().emitDestructureValueOperation( | 2367 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2368 | 0 | [&](unsigned index, SILValue value) { | 2369 | 0 | recordFoldedValue(Inst->getResults()[index], value); | 2370 | 0 | }); | 2371 | 0 | return; | 2372 | 0 | } | 2373 | | | 2374 | 402 | recordClonedInstruction( | 2375 | 402 | Inst, getBuilder().createDestructureTuple( | 2376 | 402 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2377 | 402 | getBuilder().hasOwnership() | 2378 | 402 | ? Inst->getForwardingOwnershipKind() | 2379 | 402 | : ValueOwnershipKind(OwnershipKind::None))); | 2380 | 402 | } |
|
2381 | | |
2382 | | template <typename ImplClass> |
2383 | 487 | void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) { |
2384 | 487 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2385 | 487 | recordClonedInstruction( |
2386 | 487 | Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()), |
2387 | 487 | getOpValue(Inst->getOperand()), |
2388 | 487 | Inst->getMember(), Inst->getType())); |
2389 | 487 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitClassMethodInstEPNS_15ClassMethodInstE Line | Count | Source | 2383 | 4 | void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) { | 2384 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2385 | 4 | recordClonedInstruction( | 2386 | 4 | Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()), | 2387 | 4 | getOpValue(Inst->getOperand()), | 2388 | 4 | Inst->getMember(), Inst->getType())); | 2389 | 4 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitClassMethodInstEPNS_15ClassMethodInstE Line | Count | Source | 2383 | 48 | void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) { | 2384 | 48 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2385 | 48 | recordClonedInstruction( | 2386 | 48 | Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()), | 2387 | 48 | getOpValue(Inst->getOperand()), | 2388 | 48 | Inst->getMember(), Inst->getType())); | 2389 | 48 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Line | Count | Source | 2383 | 11 | void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) { | 2384 | 11 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2385 | 11 | recordClonedInstruction( | 2386 | 11 | Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()), | 2387 | 11 | getOpValue(Inst->getOperand()), | 2388 | 11 | Inst->getMember(), Inst->getType())); | 2389 | 11 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Line | Count | Source | 2383 | 4 | void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) { | 2384 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2385 | 4 | recordClonedInstruction( | 2386 | 4 | Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()), | 2387 | 4 | getOpValue(Inst->getOperand()), | 2388 | 4 | Inst->getMember(), Inst->getType())); | 2389 | 4 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitClassMethodInstEPNS_15ClassMethodInstE _ZN5swift9SILClonerINS_13GenericClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Line | Count | Source | 2383 | 161 | void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) { | 2384 | 161 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2385 | 161 | recordClonedInstruction( | 2386 | 161 | Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()), | 2387 | 161 | getOpValue(Inst->getOperand()), | 2388 | 161 | Inst->getMember(), Inst->getType())); | 2389 | 161 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE Line | Count | Source | 2383 | 259 | void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) { | 2384 | 259 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2385 | 259 | recordClonedInstruction( | 2386 | 259 | Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()), | 2387 | 259 | getOpValue(Inst->getOperand()), | 2388 | 259 | Inst->getMember(), Inst->getType())); | 2389 | 259 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE |
2390 | | |
2391 | | template<typename ImplClass> |
2392 | | void |
2393 | 0 | SILCloner<ImplClass>::visitSuperMethodInst(SuperMethodInst *Inst) { |
2394 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2395 | 0 | recordClonedInstruction( |
2396 | 0 | Inst, getBuilder().createSuperMethod(getOpLocation(Inst->getLoc()), |
2397 | 0 | getOpValue(Inst->getOperand()), |
2398 | 0 | Inst->getMember(), Inst->getType())); |
2399 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE |
2400 | | |
2401 | | template<typename ImplClass> |
2402 | | void |
2403 | 116 | SILCloner<ImplClass>::visitObjCMethodInst(ObjCMethodInst *Inst) { |
2404 | 116 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2405 | 116 | recordClonedInstruction( |
2406 | 116 | Inst, getBuilder().createObjCMethod( |
2407 | 116 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2408 | 116 | Inst->getMember(), getOpType(Inst->getType()))); |
2409 | 116 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitObjCMethodInstEPNS_14ObjCMethodInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Line | Count | Source | 2403 | 16 | SILCloner<ImplClass>::visitObjCMethodInst(ObjCMethodInst *Inst) { | 2404 | 16 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2405 | 16 | recordClonedInstruction( | 2406 | 16 | Inst, getBuilder().createObjCMethod( | 2407 | 16 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2408 | 16 | Inst->getMember(), getOpType(Inst->getType()))); | 2409 | 16 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE Line | Count | Source | 2403 | 100 | SILCloner<ImplClass>::visitObjCMethodInst(ObjCMethodInst *Inst) { | 2404 | 100 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2405 | 100 | recordClonedInstruction( | 2406 | 100 | Inst, getBuilder().createObjCMethod( | 2407 | 100 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2408 | 100 | Inst->getMember(), getOpType(Inst->getType()))); | 2409 | 100 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE |
2410 | | |
2411 | | template<typename ImplClass> |
2412 | | void |
2413 | 0 | SILCloner<ImplClass>::visitObjCSuperMethodInst(ObjCSuperMethodInst *Inst) { |
2414 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2415 | 0 | recordClonedInstruction(Inst, getBuilder().createObjCSuperMethod( |
2416 | 0 | getOpLocation(Inst->getLoc()), |
2417 | 0 | getOpValue(Inst->getOperand()), |
2418 | 0 | Inst->getMember(), Inst->getType())); |
2419 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE |
2420 | | |
2421 | | template<typename ImplClass> |
2422 | | void |
2423 | 49.3k | SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) { |
2424 | 49.3k | auto lookupType = Inst->getLookupType(); |
2425 | 49.3k | auto conformance = getOpConformance(lookupType, Inst->getConformance()); |
2426 | 49.3k | auto newLookupType = getOpASTType(lookupType); |
2427 | | |
2428 | 49.3k | if (conformance.isConcrete()) { |
2429 | 44.2k | CanType Ty = conformance.getConcrete()->getType()->getCanonicalType(); |
2430 | | |
2431 | 44.2k | if (Ty != newLookupType) { |
2432 | 0 | assert( |
2433 | 0 | (Ty->isExactSuperclassOf(newLookupType) || |
2434 | 0 | getBuilder().getModule().Types.getLoweredRValueType( |
2435 | 0 | getBuilder().getTypeExpansionContext(), Ty) == newLookupType) && |
2436 | 0 | "Should only create upcasts for sub class."); |
2437 | | |
2438 | | // We use the super class as the new look up type. |
2439 | 0 | newLookupType = Ty; |
2440 | 0 | } |
2441 | 44.2k | } |
2442 | | |
2443 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2444 | 49.3k | recordClonedInstruction(Inst, |
2445 | 49.3k | getBuilder().createWitnessMethod( |
2446 | 49.3k | getOpLocation(Inst->getLoc()), newLookupType, |
2447 | 49.3k | conformance, Inst->getMember(), Inst->getType())); |
2448 | 49.3k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Line | Count | Source | 2423 | 14 | SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) { | 2424 | 14 | auto lookupType = Inst->getLookupType(); | 2425 | 14 | auto conformance = getOpConformance(lookupType, Inst->getConformance()); | 2426 | 14 | auto newLookupType = getOpASTType(lookupType); | 2427 | | | 2428 | 14 | if (conformance.isConcrete()) { | 2429 | 0 | CanType Ty = conformance.getConcrete()->getType()->getCanonicalType(); | 2430 | |
| 2431 | 0 | if (Ty != newLookupType) { | 2432 | 0 | assert( | 2433 | 0 | (Ty->isExactSuperclassOf(newLookupType) || | 2434 | 0 | getBuilder().getModule().Types.getLoweredRValueType( | 2435 | 0 | getBuilder().getTypeExpansionContext(), Ty) == newLookupType) && | 2436 | 0 | "Should only create upcasts for sub class."); | 2437 | | | 2438 | | // We use the super class as the new look up type. | 2439 | 0 | newLookupType = Ty; | 2440 | 0 | } | 2441 | 0 | } | 2442 | | | 2443 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2444 | 14 | recordClonedInstruction(Inst, | 2445 | 14 | getBuilder().createWitnessMethod( | 2446 | 14 | getOpLocation(Inst->getLoc()), newLookupType, | 2447 | 14 | conformance, Inst->getMember(), Inst->getType())); | 2448 | 14 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Line | Count | Source | 2423 | 52 | SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) { | 2424 | 52 | auto lookupType = Inst->getLookupType(); | 2425 | 52 | auto conformance = getOpConformance(lookupType, Inst->getConformance()); | 2426 | 52 | auto newLookupType = getOpASTType(lookupType); | 2427 | | | 2428 | 52 | if (conformance.isConcrete()) { | 2429 | 0 | CanType Ty = conformance.getConcrete()->getType()->getCanonicalType(); | 2430 | |
| 2431 | 0 | if (Ty != newLookupType) { | 2432 | 0 | assert( | 2433 | 0 | (Ty->isExactSuperclassOf(newLookupType) || | 2434 | 0 | getBuilder().getModule().Types.getLoweredRValueType( | 2435 | 0 | getBuilder().getTypeExpansionContext(), Ty) == newLookupType) && | 2436 | 0 | "Should only create upcasts for sub class."); | 2437 | | | 2438 | | // We use the super class as the new look up type. | 2439 | 0 | newLookupType = Ty; | 2440 | 0 | } | 2441 | 0 | } | 2442 | | | 2443 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2444 | 52 | recordClonedInstruction(Inst, | 2445 | 52 | getBuilder().createWitnessMethod( | 2446 | 52 | getOpLocation(Inst->getLoc()), newLookupType, | 2447 | 52 | conformance, Inst->getMember(), Inst->getType())); | 2448 | 52 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Line | Count | Source | 2423 | 250 | SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) { | 2424 | 250 | auto lookupType = Inst->getLookupType(); | 2425 | 250 | auto conformance = getOpConformance(lookupType, Inst->getConformance()); | 2426 | 250 | auto newLookupType = getOpASTType(lookupType); | 2427 | | | 2428 | 250 | if (conformance.isConcrete()) { | 2429 | 18 | CanType Ty = conformance.getConcrete()->getType()->getCanonicalType(); | 2430 | | | 2431 | 18 | if (Ty != newLookupType) { | 2432 | 0 | assert( | 2433 | 0 | (Ty->isExactSuperclassOf(newLookupType) || | 2434 | 0 | getBuilder().getModule().Types.getLoweredRValueType( | 2435 | 0 | getBuilder().getTypeExpansionContext(), Ty) == newLookupType) && | 2436 | 0 | "Should only create upcasts for sub class."); | 2437 | | | 2438 | | // We use the super class as the new look up type. | 2439 | 0 | newLookupType = Ty; | 2440 | 0 | } | 2441 | 18 | } | 2442 | | | 2443 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2444 | 250 | recordClonedInstruction(Inst, | 2445 | 250 | getBuilder().createWitnessMethod( | 2446 | 250 | getOpLocation(Inst->getLoc()), newLookupType, | 2447 | 250 | conformance, Inst->getMember(), Inst->getType())); | 2448 | 250 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Line | Count | Source | 2423 | 2 | SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) { | 2424 | 2 | auto lookupType = Inst->getLookupType(); | 2425 | 2 | auto conformance = getOpConformance(lookupType, Inst->getConformance()); | 2426 | 2 | auto newLookupType = getOpASTType(lookupType); | 2427 | | | 2428 | 2 | if (conformance.isConcrete()) { | 2429 | 0 | CanType Ty = conformance.getConcrete()->getType()->getCanonicalType(); | 2430 | |
| 2431 | 0 | if (Ty != newLookupType) { | 2432 | 0 | assert( | 2433 | 0 | (Ty->isExactSuperclassOf(newLookupType) || | 2434 | 0 | getBuilder().getModule().Types.getLoweredRValueType( | 2435 | 0 | getBuilder().getTypeExpansionContext(), Ty) == newLookupType) && | 2436 | 0 | "Should only create upcasts for sub class."); | 2437 | | | 2438 | | // We use the super class as the new look up type. | 2439 | 0 | newLookupType = Ty; | 2440 | 0 | } | 2441 | 0 | } | 2442 | | | 2443 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2444 | 2 | recordClonedInstruction(Inst, | 2445 | 2 | getBuilder().createWitnessMethod( | 2446 | 2 | getOpLocation(Inst->getLoc()), newLookupType, | 2447 | 2 | conformance, Inst->getMember(), Inst->getType())); | 2448 | 2 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Line | Count | Source | 2423 | 1 | SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) { | 2424 | 1 | auto lookupType = Inst->getLookupType(); | 2425 | 1 | auto conformance = getOpConformance(lookupType, Inst->getConformance()); | 2426 | 1 | auto newLookupType = getOpASTType(lookupType); | 2427 | | | 2428 | 1 | if (conformance.isConcrete()) { | 2429 | 0 | CanType Ty = conformance.getConcrete()->getType()->getCanonicalType(); | 2430 | |
| 2431 | 0 | if (Ty != newLookupType) { | 2432 | 0 | assert( | 2433 | 0 | (Ty->isExactSuperclassOf(newLookupType) || | 2434 | 0 | getBuilder().getModule().Types.getLoweredRValueType( | 2435 | 0 | getBuilder().getTypeExpansionContext(), Ty) == newLookupType) && | 2436 | 0 | "Should only create upcasts for sub class."); | 2437 | | | 2438 | | // We use the super class as the new look up type. | 2439 | 0 | newLookupType = Ty; | 2440 | 0 | } | 2441 | 0 | } | 2442 | | | 2443 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2444 | 1 | recordClonedInstruction(Inst, | 2445 | 1 | getBuilder().createWitnessMethod( | 2446 | 1 | getOpLocation(Inst->getLoc()), newLookupType, | 2447 | 1 | conformance, Inst->getMember(), Inst->getType())); | 2448 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Line | Count | Source | 2423 | 6 | SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) { | 2424 | 6 | auto lookupType = Inst->getLookupType(); | 2425 | 6 | auto conformance = getOpConformance(lookupType, Inst->getConformance()); | 2426 | 6 | auto newLookupType = getOpASTType(lookupType); | 2427 | | | 2428 | 6 | if (conformance.isConcrete()) { | 2429 | 0 | CanType Ty = conformance.getConcrete()->getType()->getCanonicalType(); | 2430 | |
| 2431 | 0 | if (Ty != newLookupType) { | 2432 | 0 | assert( | 2433 | 0 | (Ty->isExactSuperclassOf(newLookupType) || | 2434 | 0 | getBuilder().getModule().Types.getLoweredRValueType( | 2435 | 0 | getBuilder().getTypeExpansionContext(), Ty) == newLookupType) && | 2436 | 0 | "Should only create upcasts for sub class."); | 2437 | | | 2438 | | // We use the super class as the new look up type. | 2439 | 0 | newLookupType = Ty; | 2440 | 0 | } | 2441 | 0 | } | 2442 | | | 2443 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2444 | 6 | recordClonedInstruction(Inst, | 2445 | 6 | getBuilder().createWitnessMethod( | 2446 | 6 | getOpLocation(Inst->getLoc()), newLookupType, | 2447 | 6 | conformance, Inst->getMember(), Inst->getType())); | 2448 | 6 | } |
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Line | Count | Source | 2423 | 183 | SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) { | 2424 | 183 | auto lookupType = Inst->getLookupType(); | 2425 | 183 | auto conformance = getOpConformance(lookupType, Inst->getConformance()); | 2426 | 183 | auto newLookupType = getOpASTType(lookupType); | 2427 | | | 2428 | 183 | if (conformance.isConcrete()) { | 2429 | 0 | CanType Ty = conformance.getConcrete()->getType()->getCanonicalType(); | 2430 | |
| 2431 | 0 | if (Ty != newLookupType) { | 2432 | 0 | assert( | 2433 | 0 | (Ty->isExactSuperclassOf(newLookupType) || | 2434 | 0 | getBuilder().getModule().Types.getLoweredRValueType( | 2435 | 0 | getBuilder().getTypeExpansionContext(), Ty) == newLookupType) && | 2436 | 0 | "Should only create upcasts for sub class."); | 2437 | | | 2438 | | // We use the super class as the new look up type. | 2439 | 0 | newLookupType = Ty; | 2440 | 0 | } | 2441 | 0 | } | 2442 | | | 2443 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2444 | 183 | recordClonedInstruction(Inst, | 2445 | 183 | getBuilder().createWitnessMethod( | 2446 | 183 | getOpLocation(Inst->getLoc()), newLookupType, | 2447 | 183 | conformance, Inst->getMember(), Inst->getType())); | 2448 | 183 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE _ZN5swift9SILClonerINS_13GenericClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Line | Count | Source | 2423 | 23.7k | SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) { | 2424 | 23.7k | auto lookupType = Inst->getLookupType(); | 2425 | 23.7k | auto conformance = getOpConformance(lookupType, Inst->getConformance()); | 2426 | 23.7k | auto newLookupType = getOpASTType(lookupType); | 2427 | | | 2428 | 23.7k | if (conformance.isConcrete()) { | 2429 | 22.8k | CanType Ty = conformance.getConcrete()->getType()->getCanonicalType(); | 2430 | | | 2431 | 22.8k | if (Ty != newLookupType) { | 2432 | 0 | assert( | 2433 | 0 | (Ty->isExactSuperclassOf(newLookupType) || | 2434 | 0 | getBuilder().getModule().Types.getLoweredRValueType( | 2435 | 0 | getBuilder().getTypeExpansionContext(), Ty) == newLookupType) && | 2436 | 0 | "Should only create upcasts for sub class."); | 2437 | | | 2438 | | // We use the super class as the new look up type. | 2439 | 0 | newLookupType = Ty; | 2440 | 0 | } | 2441 | 22.8k | } | 2442 | | | 2443 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2444 | 23.7k | recordClonedInstruction(Inst, | 2445 | 23.7k | getBuilder().createWitnessMethod( | 2446 | 23.7k | getOpLocation(Inst->getLoc()), newLookupType, | 2447 | 23.7k | conformance, Inst->getMember(), Inst->getType())); | 2448 | 23.7k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE Line | Count | Source | 2423 | 25.0k | SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) { | 2424 | 25.0k | auto lookupType = Inst->getLookupType(); | 2425 | 25.0k | auto conformance = getOpConformance(lookupType, Inst->getConformance()); | 2426 | 25.0k | auto newLookupType = getOpASTType(lookupType); | 2427 | | | 2428 | 25.0k | if (conformance.isConcrete()) { | 2429 | 21.3k | CanType Ty = conformance.getConcrete()->getType()->getCanonicalType(); | 2430 | | | 2431 | 21.3k | if (Ty != newLookupType) { | 2432 | 0 | assert( | 2433 | 0 | (Ty->isExactSuperclassOf(newLookupType) || | 2434 | 0 | getBuilder().getModule().Types.getLoweredRValueType( | 2435 | 0 | getBuilder().getTypeExpansionContext(), Ty) == newLookupType) && | 2436 | 0 | "Should only create upcasts for sub class."); | 2437 | | | 2438 | | // We use the super class as the new look up type. | 2439 | 0 | newLookupType = Ty; | 2440 | 0 | } | 2441 | 21.3k | } | 2442 | | | 2443 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2444 | 25.0k | recordClonedInstruction(Inst, | 2445 | 25.0k | getBuilder().createWitnessMethod( | 2446 | 25.0k | getOpLocation(Inst->getLoc()), newLookupType, | 2447 | 25.0k | conformance, Inst->getMember(), Inst->getType())); | 2448 | 25.0k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE |
2449 | | |
2450 | | template<typename ImplClass> |
2451 | | void |
2452 | 302 | SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) { |
2453 | | // Create a new archetype for this opened existential type. |
2454 | 302 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); |
2455 | | |
2456 | 302 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2457 | 302 | recordClonedInstruction( |
2458 | 302 | Inst, getBuilder().createOpenExistentialAddr( |
2459 | 302 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2460 | 302 | getOpType(Inst->getType()), Inst->getAccessKind())); |
2461 | 302 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Line | Count | Source | 2452 | 1 | SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) { | 2453 | | // Create a new archetype for this opened existential type. | 2454 | 1 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2455 | | | 2456 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2457 | 1 | recordClonedInstruction( | 2458 | 1 | Inst, getBuilder().createOpenExistentialAddr( | 2459 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2460 | 1 | getOpType(Inst->getType()), Inst->getAccessKind())); | 2461 | 1 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Line | Count | Source | 2452 | 2 | SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) { | 2453 | | // Create a new archetype for this opened existential type. | 2454 | 2 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2455 | | | 2456 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2457 | 2 | recordClonedInstruction( | 2458 | 2 | Inst, getBuilder().createOpenExistentialAddr( | 2459 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2460 | 2 | getOpType(Inst->getType()), Inst->getAccessKind())); | 2461 | 2 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Line | Count | Source | 2452 | 6 | SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) { | 2453 | | // Create a new archetype for this opened existential type. | 2454 | 6 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2455 | | | 2456 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2457 | 6 | recordClonedInstruction( | 2458 | 6 | Inst, getBuilder().createOpenExistentialAddr( | 2459 | 6 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2460 | 6 | getOpType(Inst->getType()), Inst->getAccessKind())); | 2461 | 6 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Line | Count | Source | 2452 | 96 | SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) { | 2453 | | // Create a new archetype for this opened existential type. | 2454 | 96 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2455 | | | 2456 | 96 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2457 | 96 | recordClonedInstruction( | 2458 | 96 | Inst, getBuilder().createOpenExistentialAddr( | 2459 | 96 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2460 | 96 | getOpType(Inst->getType()), Inst->getAccessKind())); | 2461 | 96 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE Line | Count | Source | 2452 | 197 | SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) { | 2453 | | // Create a new archetype for this opened existential type. | 2454 | 197 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2455 | | | 2456 | 197 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2457 | 197 | recordClonedInstruction( | 2458 | 197 | Inst, getBuilder().createOpenExistentialAddr( | 2459 | 197 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2460 | 197 | getOpType(Inst->getType()), Inst->getAccessKind())); | 2461 | 197 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE |
2462 | | |
2463 | | template <typename ImplClass> |
2464 | | void SILCloner<ImplClass>::visitOpenExistentialValueInst( |
2465 | 0 | OpenExistentialValueInst *Inst) { |
2466 | | // Create a new archetype for this opened existential type. |
2467 | 0 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); |
2468 | |
|
2469 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2470 | 0 | recordClonedInstruction( |
2471 | 0 | Inst, getBuilder().createOpenExistentialValue( |
2472 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2473 | 0 | getOpType(Inst->getType()), |
2474 | 0 | getBuilder().hasOwnership() |
2475 | 0 | ? Inst->getForwardingOwnershipKind() |
2476 | 0 | : ValueOwnershipKind(OwnershipKind::None))); |
2477 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE |
2478 | | |
2479 | | template<typename ImplClass> |
2480 | | void |
2481 | | SILCloner<ImplClass>:: |
2482 | 501 | visitOpenExistentialMetatypeInst(OpenExistentialMetatypeInst *Inst) { |
2483 | | // Create a new archetype for this opened existential type. |
2484 | 501 | auto openedType = Inst->getType().getASTType(); |
2485 | 501 | auto exType = Inst->getOperand()->getType().getASTType(); |
2486 | 1.00k | while (auto exMetatype = dyn_cast<ExistentialMetatypeType>(exType)) { |
2487 | 501 | exType = exMetatype->getExistentialInstanceType()->getCanonicalType(); |
2488 | 501 | openedType = cast<MetatypeType>(openedType).getInstanceType(); |
2489 | 501 | } |
2490 | 501 | remapRootOpenedType(cast<OpenedArchetypeType>(openedType)); |
2491 | | |
2492 | 501 | if (!Inst->getOperand()->getType().canUseExistentialRepresentation( |
2493 | 501 | ExistentialRepresentation::Class)) { |
2494 | 501 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2495 | 501 | recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype( |
2496 | 501 | getOpLocation(Inst->getLoc()), |
2497 | 501 | getOpValue(Inst->getOperand()), |
2498 | 501 | getOpType(Inst->getType()))); |
2499 | 501 | return; |
2500 | 501 | } |
2501 | | |
2502 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2503 | 0 | recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype( |
2504 | 0 | getOpLocation(Inst->getLoc()), |
2505 | 0 | getOpValue(Inst->getOperand()), |
2506 | 0 | getOpType(Inst->getType()))); |
2507 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE _ZN5swift9SILClonerINS_13GenericClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Line | Count | Source | 2482 | 500 | visitOpenExistentialMetatypeInst(OpenExistentialMetatypeInst *Inst) { | 2483 | | // Create a new archetype for this opened existential type. | 2484 | 500 | auto openedType = Inst->getType().getASTType(); | 2485 | 500 | auto exType = Inst->getOperand()->getType().getASTType(); | 2486 | 1.00k | while (auto exMetatype = dyn_cast<ExistentialMetatypeType>(exType)) { | 2487 | 500 | exType = exMetatype->getExistentialInstanceType()->getCanonicalType(); | 2488 | 500 | openedType = cast<MetatypeType>(openedType).getInstanceType(); | 2489 | 500 | } | 2490 | 500 | remapRootOpenedType(cast<OpenedArchetypeType>(openedType)); | 2491 | | | 2492 | 500 | if (!Inst->getOperand()->getType().canUseExistentialRepresentation( | 2493 | 500 | ExistentialRepresentation::Class)) { | 2494 | 500 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2495 | 500 | recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype( | 2496 | 500 | getOpLocation(Inst->getLoc()), | 2497 | 500 | getOpValue(Inst->getOperand()), | 2498 | 500 | getOpType(Inst->getType()))); | 2499 | 500 | return; | 2500 | 500 | } | 2501 | | | 2502 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2503 | 0 | recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype( | 2504 | 0 | getOpLocation(Inst->getLoc()), | 2505 | 0 | getOpValue(Inst->getOperand()), | 2506 | 0 | getOpType(Inst->getType()))); | 2507 | 0 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE Line | Count | Source | 2482 | 1 | visitOpenExistentialMetatypeInst(OpenExistentialMetatypeInst *Inst) { | 2483 | | // Create a new archetype for this opened existential type. | 2484 | 1 | auto openedType = Inst->getType().getASTType(); | 2485 | 1 | auto exType = Inst->getOperand()->getType().getASTType(); | 2486 | 2 | while (auto exMetatype = dyn_cast<ExistentialMetatypeType>(exType)) { | 2487 | 1 | exType = exMetatype->getExistentialInstanceType()->getCanonicalType(); | 2488 | 1 | openedType = cast<MetatypeType>(openedType).getInstanceType(); | 2489 | 1 | } | 2490 | 1 | remapRootOpenedType(cast<OpenedArchetypeType>(openedType)); | 2491 | | | 2492 | 1 | if (!Inst->getOperand()->getType().canUseExistentialRepresentation( | 2493 | 1 | ExistentialRepresentation::Class)) { | 2494 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2495 | 1 | recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype( | 2496 | 1 | getOpLocation(Inst->getLoc()), | 2497 | 1 | getOpValue(Inst->getOperand()), | 2498 | 1 | getOpType(Inst->getType()))); | 2499 | 1 | return; | 2500 | 1 | } | 2501 | | | 2502 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2503 | 0 | recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype( | 2504 | 0 | getOpLocation(Inst->getLoc()), | 2505 | 0 | getOpValue(Inst->getOperand()), | 2506 | 0 | getOpType(Inst->getType()))); | 2507 | 0 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE |
2508 | | |
2509 | | template<typename ImplClass> |
2510 | | void |
2511 | | SILCloner<ImplClass>:: |
2512 | 4.16k | visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) { |
2513 | | // Create a new archetype for this opened existential type. |
2514 | 4.16k | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); |
2515 | | |
2516 | 4.16k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2517 | 4.16k | recordClonedInstruction( |
2518 | 4.16k | Inst, getBuilder().createOpenExistentialRef( |
2519 | 4.16k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2520 | 4.16k | getOpType(Inst->getType()), |
2521 | 4.16k | getBuilder().hasOwnership() |
2522 | 4.16k | ? Inst->getForwardingOwnershipKind() |
2523 | 4.16k | : ValueOwnershipKind(OwnershipKind::None))); |
2524 | 4.16k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Line | Count | Source | 2512 | 242 | visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) { | 2513 | | // Create a new archetype for this opened existential type. | 2514 | 242 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2515 | | | 2516 | 242 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2517 | 242 | recordClonedInstruction( | 2518 | 242 | Inst, getBuilder().createOpenExistentialRef( | 2519 | 242 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2520 | 242 | getOpType(Inst->getType()), | 2521 | 242 | getBuilder().hasOwnership() | 2522 | 242 | ? Inst->getForwardingOwnershipKind() | 2523 | 242 | : ValueOwnershipKind(OwnershipKind::None))); | 2524 | 242 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Line | Count | Source | 2512 | 2 | visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) { | 2513 | | // Create a new archetype for this opened existential type. | 2514 | 2 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2515 | | | 2516 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2517 | 2 | recordClonedInstruction( | 2518 | 2 | Inst, getBuilder().createOpenExistentialRef( | 2519 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2520 | 2 | getOpType(Inst->getType()), | 2521 | 2 | getBuilder().hasOwnership() | 2522 | 2 | ? Inst->getForwardingOwnershipKind() | 2523 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 2524 | 2 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Line | Count | Source | 2512 | 5 | visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) { | 2513 | | // Create a new archetype for this opened existential type. | 2514 | 5 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2515 | | | 2516 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2517 | 5 | recordClonedInstruction( | 2518 | 5 | Inst, getBuilder().createOpenExistentialRef( | 2519 | 5 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2520 | 5 | getOpType(Inst->getType()), | 2521 | 5 | getBuilder().hasOwnership() | 2522 | 5 | ? Inst->getForwardingOwnershipKind() | 2523 | 5 | : ValueOwnershipKind(OwnershipKind::None))); | 2524 | 5 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Line | Count | Source | 2512 | 4 | visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) { | 2513 | | // Create a new archetype for this opened existential type. | 2514 | 4 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2515 | | | 2516 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2517 | 4 | recordClonedInstruction( | 2518 | 4 | Inst, getBuilder().createOpenExistentialRef( | 2519 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2520 | 4 | getOpType(Inst->getType()), | 2521 | 4 | getBuilder().hasOwnership() | 2522 | 4 | ? Inst->getForwardingOwnershipKind() | 2523 | 4 | : ValueOwnershipKind(OwnershipKind::None))); | 2524 | 4 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE _ZN5swift9SILClonerINS_13GenericClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Line | Count | Source | 2512 | 1.07k | visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) { | 2513 | | // Create a new archetype for this opened existential type. | 2514 | 1.07k | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2515 | | | 2516 | 1.07k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2517 | 1.07k | recordClonedInstruction( | 2518 | 1.07k | Inst, getBuilder().createOpenExistentialRef( | 2519 | 1.07k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2520 | 1.07k | getOpType(Inst->getType()), | 2521 | 1.07k | getBuilder().hasOwnership() | 2522 | 1.07k | ? Inst->getForwardingOwnershipKind() | 2523 | 1.07k | : ValueOwnershipKind(OwnershipKind::None))); | 2524 | 1.07k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE Line | Count | Source | 2512 | 2.83k | visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) { | 2513 | | // Create a new archetype for this opened existential type. | 2514 | 2.83k | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2515 | | | 2516 | 2.83k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2517 | 2.83k | recordClonedInstruction( | 2518 | 2.83k | Inst, getBuilder().createOpenExistentialRef( | 2519 | 2.83k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2520 | 2.83k | getOpType(Inst->getType()), | 2521 | 2.83k | getBuilder().hasOwnership() | 2522 | 2.83k | ? Inst->getForwardingOwnershipKind() | 2523 | 2.83k | : ValueOwnershipKind(OwnershipKind::None))); | 2524 | 2.83k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE |
2525 | | |
2526 | | template<typename ImplClass> |
2527 | | void |
2528 | | SILCloner<ImplClass>:: |
2529 | 1 | visitOpenExistentialBoxInst(OpenExistentialBoxInst *Inst) { |
2530 | | // Create a new archetype for this opened existential type. |
2531 | 1 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); |
2532 | | |
2533 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2534 | 1 | recordClonedInstruction(Inst, getBuilder().createOpenExistentialBox( |
2535 | 1 | getOpLocation(Inst->getLoc()), |
2536 | 1 | getOpValue(Inst->getOperand()), |
2537 | 1 | getOpType(Inst->getType()))); |
2538 | 1 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE _ZN5swift9SILClonerINS_13GenericClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Line | Count | Source | 2529 | 1 | visitOpenExistentialBoxInst(OpenExistentialBoxInst *Inst) { | 2530 | | // Create a new archetype for this opened existential type. | 2531 | 1 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); | 2532 | | | 2533 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2534 | 1 | recordClonedInstruction(Inst, getBuilder().createOpenExistentialBox( | 2535 | 1 | getOpLocation(Inst->getLoc()), | 2536 | 1 | getOpValue(Inst->getOperand()), | 2537 | 1 | getOpType(Inst->getType()))); | 2538 | 1 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE |
2539 | | |
2540 | | template<typename ImplClass> |
2541 | | void |
2542 | | SILCloner<ImplClass>:: |
2543 | 0 | visitOpenExistentialBoxValueInst(OpenExistentialBoxValueInst *Inst) { |
2544 | | // Create a new archetype for this opened existential type. |
2545 | 0 | remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>()); |
2546 | |
|
2547 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2548 | 0 | recordClonedInstruction( |
2549 | 0 | Inst, getBuilder().createOpenExistentialBoxValue( |
2550 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2551 | 0 | getOpType(Inst->getType()), |
2552 | 0 | getBuilder().hasOwnership() |
2553 | 0 | ? Inst->getForwardingOwnershipKind() |
2554 | 0 | : ValueOwnershipKind(OwnershipKind::None))); |
2555 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE |
2556 | | |
2557 | | template<typename ImplClass> |
2558 | | void |
2559 | 183 | SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) { |
2560 | 183 | CanType origFormalType = Inst->getFormalConcreteType(); |
2561 | | |
2562 | 183 | auto conformances = getOpConformances(origFormalType, |
2563 | 183 | Inst->getConformances()); |
2564 | | |
2565 | 183 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2566 | 183 | recordClonedInstruction( |
2567 | 183 | Inst, getBuilder().createInitExistentialAddr( |
2568 | 183 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
2569 | 183 | getOpASTType(origFormalType), |
2570 | 183 | getOpType(Inst->getLoweredConcreteType()), conformances)); |
2571 | 183 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Line | Count | Source | 2559 | 1 | SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) { | 2560 | 1 | CanType origFormalType = Inst->getFormalConcreteType(); | 2561 | | | 2562 | 1 | auto conformances = getOpConformances(origFormalType, | 2563 | 1 | Inst->getConformances()); | 2564 | | | 2565 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2566 | 1 | recordClonedInstruction( | 2567 | 1 | Inst, getBuilder().createInitExistentialAddr( | 2568 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2569 | 1 | getOpASTType(origFormalType), | 2570 | 1 | getOpType(Inst->getLoweredConcreteType()), conformances)); | 2571 | 1 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Line | Count | Source | 2559 | 2 | SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) { | 2560 | 2 | CanType origFormalType = Inst->getFormalConcreteType(); | 2561 | | | 2562 | 2 | auto conformances = getOpConformances(origFormalType, | 2563 | 2 | Inst->getConformances()); | 2564 | | | 2565 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2566 | 2 | recordClonedInstruction( | 2567 | 2 | Inst, getBuilder().createInitExistentialAddr( | 2568 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2569 | 2 | getOpASTType(origFormalType), | 2570 | 2 | getOpType(Inst->getLoweredConcreteType()), conformances)); | 2571 | 2 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Line | Count | Source | 2559 | 1 | SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) { | 2560 | 1 | CanType origFormalType = Inst->getFormalConcreteType(); | 2561 | | | 2562 | 1 | auto conformances = getOpConformances(origFormalType, | 2563 | 1 | Inst->getConformances()); | 2564 | | | 2565 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2566 | 1 | recordClonedInstruction( | 2567 | 1 | Inst, getBuilder().createInitExistentialAddr( | 2568 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2569 | 1 | getOpASTType(origFormalType), | 2570 | 1 | getOpType(Inst->getLoweredConcreteType()), conformances)); | 2571 | 1 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Line | Count | Source | 2559 | 17 | SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) { | 2560 | 17 | CanType origFormalType = Inst->getFormalConcreteType(); | 2561 | | | 2562 | 17 | auto conformances = getOpConformances(origFormalType, | 2563 | 17 | Inst->getConformances()); | 2564 | | | 2565 | 17 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2566 | 17 | recordClonedInstruction( | 2567 | 17 | Inst, getBuilder().createInitExistentialAddr( | 2568 | 17 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2569 | 17 | getOpASTType(origFormalType), | 2570 | 17 | getOpType(Inst->getLoweredConcreteType()), conformances)); | 2571 | 17 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE Line | Count | Source | 2559 | 162 | SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) { | 2560 | 162 | CanType origFormalType = Inst->getFormalConcreteType(); | 2561 | | | 2562 | 162 | auto conformances = getOpConformances(origFormalType, | 2563 | 162 | Inst->getConformances()); | 2564 | | | 2565 | 162 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2566 | 162 | recordClonedInstruction( | 2567 | 162 | Inst, getBuilder().createInitExistentialAddr( | 2568 | 162 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 2569 | 162 | getOpASTType(origFormalType), | 2570 | 162 | getOpType(Inst->getLoweredConcreteType()), conformances)); | 2571 | 162 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE |
2572 | | |
2573 | | template <typename ImplClass> |
2574 | | void SILCloner<ImplClass>::visitInitExistentialValueInst( |
2575 | 0 | InitExistentialValueInst *Inst) { |
2576 | 0 | CanType origFormalType = Inst->getFormalConcreteType(); |
2577 | |
|
2578 | 0 | auto conformances = getOpConformances(origFormalType, |
2579 | 0 | Inst->getConformances()); |
2580 | |
|
2581 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2582 | 0 | recordClonedInstruction( |
2583 | 0 | Inst, getBuilder().createInitExistentialValue( |
2584 | 0 | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), |
2585 | 0 | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), |
2586 | 0 | conformances)); |
2587 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE |
2588 | | |
2589 | | template<typename ImplClass> |
2590 | | void |
2591 | | SILCloner<ImplClass>:: |
2592 | 3.24k | visitInitExistentialMetatypeInst(InitExistentialMetatypeInst *Inst) { |
2593 | 3.24k | auto origFormalType = Inst->getFormalErasedObjectType(); |
2594 | 3.24k | auto conformances = getOpConformances(origFormalType, |
2595 | 3.24k | Inst->getConformances()); |
2596 | | |
2597 | 3.24k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2598 | 3.24k | recordClonedInstruction(Inst, getBuilder().createInitExistentialMetatype( |
2599 | 3.24k | getOpLocation(Inst->getLoc()), |
2600 | 3.24k | getOpValue(Inst->getOperand()), |
2601 | 3.24k | getOpType(Inst->getType()), conformances)); |
2602 | 3.24k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Line | Count | Source | 2592 | 1 | visitInitExistentialMetatypeInst(InitExistentialMetatypeInst *Inst) { | 2593 | 1 | auto origFormalType = Inst->getFormalErasedObjectType(); | 2594 | 1 | auto conformances = getOpConformances(origFormalType, | 2595 | 1 | Inst->getConformances()); | 2596 | | | 2597 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2598 | 1 | recordClonedInstruction(Inst, getBuilder().createInitExistentialMetatype( | 2599 | 1 | getOpLocation(Inst->getLoc()), | 2600 | 1 | getOpValue(Inst->getOperand()), | 2601 | 1 | getOpType(Inst->getType()), conformances)); | 2602 | 1 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Line | Count | Source | 2592 | 39 | visitInitExistentialMetatypeInst(InitExistentialMetatypeInst *Inst) { | 2593 | 39 | auto origFormalType = Inst->getFormalErasedObjectType(); | 2594 | 39 | auto conformances = getOpConformances(origFormalType, | 2595 | 39 | Inst->getConformances()); | 2596 | | | 2597 | 39 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2598 | 39 | recordClonedInstruction(Inst, getBuilder().createInitExistentialMetatype( | 2599 | 39 | getOpLocation(Inst->getLoc()), | 2600 | 39 | getOpValue(Inst->getOperand()), | 2601 | 39 | getOpType(Inst->getType()), conformances)); | 2602 | 39 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE _ZN5swift9SILClonerINS_13GenericClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Line | Count | Source | 2592 | 2.17k | visitInitExistentialMetatypeInst(InitExistentialMetatypeInst *Inst) { | 2593 | 2.17k | auto origFormalType = Inst->getFormalErasedObjectType(); | 2594 | 2.17k | auto conformances = getOpConformances(origFormalType, | 2595 | 2.17k | Inst->getConformances()); | 2596 | | | 2597 | 2.17k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2598 | 2.17k | recordClonedInstruction(Inst, getBuilder().createInitExistentialMetatype( | 2599 | 2.17k | getOpLocation(Inst->getLoc()), | 2600 | 2.17k | getOpValue(Inst->getOperand()), | 2601 | 2.17k | getOpType(Inst->getType()), conformances)); | 2602 | 2.17k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE Line | Count | Source | 2592 | 1.03k | visitInitExistentialMetatypeInst(InitExistentialMetatypeInst *Inst) { | 2593 | 1.03k | auto origFormalType = Inst->getFormalErasedObjectType(); | 2594 | 1.03k | auto conformances = getOpConformances(origFormalType, | 2595 | 1.03k | Inst->getConformances()); | 2596 | | | 2597 | 1.03k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2598 | 1.03k | recordClonedInstruction(Inst, getBuilder().createInitExistentialMetatype( | 2599 | 1.03k | getOpLocation(Inst->getLoc()), | 2600 | 1.03k | getOpValue(Inst->getOperand()), | 2601 | 1.03k | getOpType(Inst->getType()), conformances)); | 2602 | 1.03k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE |
2603 | | |
2604 | | template<typename ImplClass> |
2605 | | void |
2606 | | SILCloner<ImplClass>:: |
2607 | 3.89k | visitInitExistentialRefInst(InitExistentialRefInst *Inst) { |
2608 | 3.89k | CanType origFormalType = Inst->getFormalConcreteType(); |
2609 | 3.89k | auto conformances = getOpConformances(origFormalType, |
2610 | 3.89k | Inst->getConformances()); |
2611 | | |
2612 | 3.89k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2613 | 3.89k | recordClonedInstruction( |
2614 | 3.89k | Inst, getBuilder().createInitExistentialRef( |
2615 | 3.89k | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), |
2616 | 3.89k | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), |
2617 | 3.89k | conformances)); |
2618 | 3.89k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Line | Count | Source | 2607 | 106 | visitInitExistentialRefInst(InitExistentialRefInst *Inst) { | 2608 | 106 | CanType origFormalType = Inst->getFormalConcreteType(); | 2609 | 106 | auto conformances = getOpConformances(origFormalType, | 2610 | 106 | Inst->getConformances()); | 2611 | | | 2612 | 106 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2613 | 106 | recordClonedInstruction( | 2614 | 106 | Inst, getBuilder().createInitExistentialRef( | 2615 | 106 | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), | 2616 | 106 | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), | 2617 | 106 | conformances)); | 2618 | 106 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Line | Count | Source | 2607 | 6 | visitInitExistentialRefInst(InitExistentialRefInst *Inst) { | 2608 | 6 | CanType origFormalType = Inst->getFormalConcreteType(); | 2609 | 6 | auto conformances = getOpConformances(origFormalType, | 2610 | 6 | Inst->getConformances()); | 2611 | | | 2612 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2613 | 6 | recordClonedInstruction( | 2614 | 6 | Inst, getBuilder().createInitExistentialRef( | 2615 | 6 | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), | 2616 | 6 | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), | 2617 | 6 | conformances)); | 2618 | 6 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Line | Count | Source | 2607 | 1 | visitInitExistentialRefInst(InitExistentialRefInst *Inst) { | 2608 | 1 | CanType origFormalType = Inst->getFormalConcreteType(); | 2609 | 1 | auto conformances = getOpConformances(origFormalType, | 2610 | 1 | Inst->getConformances()); | 2611 | | | 2612 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2613 | 1 | recordClonedInstruction( | 2614 | 1 | Inst, getBuilder().createInitExistentialRef( | 2615 | 1 | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), | 2616 | 1 | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), | 2617 | 1 | conformances)); | 2618 | 1 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Line | Count | Source | 2607 | 7 | visitInitExistentialRefInst(InitExistentialRefInst *Inst) { | 2608 | 7 | CanType origFormalType = Inst->getFormalConcreteType(); | 2609 | 7 | auto conformances = getOpConformances(origFormalType, | 2610 | 7 | Inst->getConformances()); | 2611 | | | 2612 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2613 | 7 | recordClonedInstruction( | 2614 | 7 | Inst, getBuilder().createInitExistentialRef( | 2615 | 7 | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), | 2616 | 7 | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), | 2617 | 7 | conformances)); | 2618 | 7 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Line | Count | Source | 2607 | 2 | visitInitExistentialRefInst(InitExistentialRefInst *Inst) { | 2608 | 2 | CanType origFormalType = Inst->getFormalConcreteType(); | 2609 | 2 | auto conformances = getOpConformances(origFormalType, | 2610 | 2 | Inst->getConformances()); | 2611 | | | 2612 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2613 | 2 | recordClonedInstruction( | 2614 | 2 | Inst, getBuilder().createInitExistentialRef( | 2615 | 2 | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), | 2616 | 2 | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), | 2617 | 2 | conformances)); | 2618 | 2 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Line | Count | Source | 2607 | 2 | visitInitExistentialRefInst(InitExistentialRefInst *Inst) { | 2608 | 2 | CanType origFormalType = Inst->getFormalConcreteType(); | 2609 | 2 | auto conformances = getOpConformances(origFormalType, | 2610 | 2 | Inst->getConformances()); | 2611 | | | 2612 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2613 | 2 | recordClonedInstruction( | 2614 | 2 | Inst, getBuilder().createInitExistentialRef( | 2615 | 2 | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), | 2616 | 2 | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), | 2617 | 2 | conformances)); | 2618 | 2 | } |
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE _ZN5swift9SILClonerINS_13GenericClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Line | Count | Source | 2607 | 1.81k | visitInitExistentialRefInst(InitExistentialRefInst *Inst) { | 2608 | 1.81k | CanType origFormalType = Inst->getFormalConcreteType(); | 2609 | 1.81k | auto conformances = getOpConformances(origFormalType, | 2610 | 1.81k | Inst->getConformances()); | 2611 | | | 2612 | 1.81k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2613 | 1.81k | recordClonedInstruction( | 2614 | 1.81k | Inst, getBuilder().createInitExistentialRef( | 2615 | 1.81k | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), | 2616 | 1.81k | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), | 2617 | 1.81k | conformances)); | 2618 | 1.81k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Line | Count | Source | 2607 | 1.94k | visitInitExistentialRefInst(InitExistentialRefInst *Inst) { | 2608 | 1.94k | CanType origFormalType = Inst->getFormalConcreteType(); | 2609 | 1.94k | auto conformances = getOpConformances(origFormalType, | 2610 | 1.94k | Inst->getConformances()); | 2611 | | | 2612 | 1.94k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2613 | 1.94k | recordClonedInstruction( | 2614 | 1.94k | Inst, getBuilder().createInitExistentialRef( | 2615 | 1.94k | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), | 2616 | 1.94k | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), | 2617 | 1.94k | conformances)); | 2618 | 1.94k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE Line | Count | Source | 2607 | 13 | visitInitExistentialRefInst(InitExistentialRefInst *Inst) { | 2608 | 13 | CanType origFormalType = Inst->getFormalConcreteType(); | 2609 | 13 | auto conformances = getOpConformances(origFormalType, | 2610 | 13 | Inst->getConformances()); | 2611 | | | 2612 | 13 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2613 | 13 | recordClonedInstruction( | 2614 | 13 | Inst, getBuilder().createInitExistentialRef( | 2615 | 13 | getOpLocation(Inst->getLoc()), getOpType(Inst->getType()), | 2616 | 13 | getOpASTType(origFormalType), getOpValue(Inst->getOperand()), | 2617 | 13 | conformances)); | 2618 | 13 | } |
|
2619 | | |
2620 | | template<typename ImplClass> |
2621 | | void |
2622 | 0 | SILCloner<ImplClass>::visitDeinitExistentialAddrInst(DeinitExistentialAddrInst *Inst) { |
2623 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2624 | 0 | recordClonedInstruction( |
2625 | 0 | Inst, getBuilder().createDeinitExistentialAddr( |
2626 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); |
2627 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE |
2628 | | |
2629 | | template <typename ImplClass> |
2630 | | void SILCloner<ImplClass>::visitDeinitExistentialValueInst( |
2631 | 0 | DeinitExistentialValueInst *Inst) { |
2632 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2633 | 0 | recordClonedInstruction( |
2634 | 0 | Inst, getBuilder().createDeinitExistentialValue( |
2635 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); |
2636 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE |
2637 | | |
2638 | | template <typename ImplClass> |
2639 | 0 | void SILCloner<ImplClass>::visitPackLengthInst(PackLengthInst *Inst) { |
2640 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2641 | |
|
2642 | 0 | auto loc = getOpLocation(Inst->getLoc()); |
2643 | 0 | auto newPackType = cast<PackType>(getOpASTType(Inst->getPackType())); |
2644 | |
|
2645 | 0 | recordClonedInstruction( |
2646 | 0 | Inst, getBuilder().createPackLength(loc, newPackType)); |
2647 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE19visitPackLengthInstEPNS_14PackLengthInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitPackLengthInstEPNS_14PackLengthInstE |
2648 | | |
2649 | | template <typename ImplClass> |
2650 | | void SILCloner<ImplClass>::visitDynamicPackIndexInst( |
2651 | 0 | DynamicPackIndexInst *Inst) { |
2652 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2653 | |
|
2654 | 0 | auto newIndexValue = getOpValue(Inst->getOperand()); |
2655 | 0 | auto loc = getOpLocation(Inst->getLoc()); |
2656 | 0 | auto newPackType = cast<PackType>(getOpASTType(Inst->getIndexedPackType())); |
2657 | |
|
2658 | 0 | recordClonedInstruction( |
2659 | 0 | Inst, getBuilder().createDynamicPackIndex(loc, newIndexValue, |
2660 | 0 | newPackType)); |
2661 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE |
2662 | | |
2663 | | template <typename ImplClass> |
2664 | 0 | void SILCloner<ImplClass>::visitPackPackIndexInst(PackPackIndexInst *Inst) { |
2665 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2666 | |
|
2667 | 0 | auto newIndexValue = getOpValue(Inst->getOperand()); |
2668 | 0 | auto loc = getOpLocation(Inst->getLoc()); |
2669 | 0 | auto newPackType = cast<PackType>(getOpASTType(Inst->getIndexedPackType())); |
2670 | |
|
2671 | 0 | auto newComponentStartIndex = |
2672 | 0 | getOpStructuralPackIndex(Inst->getIndexedPackType(), |
2673 | 0 | Inst->getComponentStartIndex()); |
2674 | |
|
2675 | 0 | recordClonedInstruction( |
2676 | 0 | Inst, getBuilder().createPackPackIndex(loc, newComponentStartIndex, |
2677 | 0 | newIndexValue, newPackType)); |
2678 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE |
2679 | | |
2680 | | template <typename ImplClass> |
2681 | | void SILCloner<ImplClass>::visitScalarPackIndexInst( |
2682 | 0 | ScalarPackIndexInst *Inst) { |
2683 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2684 | |
|
2685 | 0 | auto loc = getOpLocation(Inst->getLoc()); |
2686 | 0 | auto newPackType = cast<PackType>(getOpASTType(Inst->getIndexedPackType())); |
2687 | |
|
2688 | 0 | auto newComponentIndex = |
2689 | 0 | getOpStructuralPackIndex(Inst->getIndexedPackType(), |
2690 | 0 | Inst->getComponentIndex()); |
2691 | |
|
2692 | 0 | recordClonedInstruction( |
2693 | 0 | Inst, getBuilder().createScalarPackIndex(loc, newComponentIndex, |
2694 | 0 | newPackType)); |
2695 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE |
2696 | | |
2697 | | template <typename ImplClass> |
2698 | | void SILCloner<ImplClass>::visitOpenPackElementInst( |
2699 | 0 | OpenPackElementInst *Inst) { |
2700 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2701 | |
|
2702 | 0 | auto newIndexValue = getOpValue(Inst->getIndexOperand()); |
2703 | 0 | auto loc = getOpLocation(Inst->getLoc()); |
2704 | | |
2705 | | // We need to make a new opened-element environment. This is *not* |
2706 | | // a refinement of the contextual environment of the new insertion |
2707 | | // site; we just substitute the contextual substitutions in the |
2708 | | // opened environment and build a new one. |
2709 | 0 | auto origEnv = Inst->getOpenedGenericEnvironment(); |
2710 | | |
2711 | | // Substitute the contextual substitutions. |
2712 | 0 | auto newContextSubs = |
2713 | 0 | getOpSubstitutionMap(origEnv->getPackElementContextSubstitutions()); |
2714 | | |
2715 | | // The opened shape class is a parameter of the original signature, |
2716 | | // which is unchanged. |
2717 | 0 | auto openedShapeClass = origEnv->getOpenedElementShapeClass(); |
2718 | | |
2719 | | // Build the new environment. |
2720 | 0 | auto newEnv = |
2721 | 0 | GenericEnvironment::forOpenedElement(origEnv->getGenericSignature(), |
2722 | 0 | UUID::fromTime(), |
2723 | 0 | openedShapeClass, |
2724 | 0 | newContextSubs); |
2725 | | |
2726 | | // Associate the old opened archetypes with the new ones. |
2727 | 0 | SmallVector<ArchetypeType*, 4> oldOpenedArchetypes; |
2728 | 0 | origEnv->forEachPackElementArchetype([&](ElementArchetypeType *oldType) { |
2729 | 0 | oldOpenedArchetypes.push_back(oldType); |
2730 | 0 | }); Unexecuted instantiation: LoadableByAddress.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES8_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES8_ Unexecuted instantiation: ExistentialTransform.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: CapturePropagation.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: ClosureSpecializer.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: CrossModuleOptimization.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: LetPropertiesOpts.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: LoopUnroll.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: CapturePromotion.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_ Unexecuted instantiation: AllocBoxToStack.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: CSE.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_16BasicBlockClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_ Unexecuted instantiation: SerializeSILPass.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_13GenericClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_15SILInlineClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_17SILFunctionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_ Unexecuted instantiation: SILInstruction.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_ |
2731 | 0 | { |
2732 | 0 | size_t nextOldIndex = 0; |
2733 | 0 | newEnv->forEachPackElementArchetype([&](ElementArchetypeType *newType) { |
2734 | 0 | ArchetypeType *oldType = oldOpenedArchetypes[nextOldIndex++]; |
2735 | 0 | registerLocalArchetypeRemapping(oldType, newType); |
2736 | 0 | }); Unexecuted instantiation: LoadableByAddress.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES8_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES8_ Unexecuted instantiation: ExistentialTransform.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: CapturePropagation.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: ClosureSpecializer.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: CrossModuleOptimization.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: LetPropertiesOpts.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: LoopUnroll.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: CapturePromotion.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_ Unexecuted instantiation: AllocBoxToStack.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: CSE.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_16BasicBlockClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_ Unexecuted instantiation: SerializeSILPass.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_13GenericClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_15SILInlineClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_ Unexecuted instantiation: _ZZN5swift9SILClonerINS_17SILFunctionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_ Unexecuted instantiation: SILInstruction.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_ |
2737 | 0 | assert(nextOldIndex == oldOpenedArchetypes.size() && |
2738 | 0 | "different opened archetype count"); |
2739 | 0 | } |
2740 | | |
2741 | 0 | recordClonedInstruction( |
2742 | 0 | Inst, getBuilder().createOpenPackElement(loc, newIndexValue, newEnv)); |
2743 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE |
2744 | | |
2745 | | template <typename ImplClass> |
2746 | 0 | void SILCloner<ImplClass>::visitPackElementGetInst(PackElementGetInst *Inst) { |
2747 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2748 | 0 | auto loc = getOpLocation(Inst->getLoc()); |
2749 | 0 | auto newIndex = getOpValue(Inst->getIndex()); |
2750 | 0 | auto newPack = getOpValue(Inst->getPack()); |
2751 | 0 | auto newElementType = getOpType(Inst->getElementType()); |
2752 | 0 | recordClonedInstruction( |
2753 | 0 | Inst, getBuilder().createPackElementGet(loc, newIndex, newPack, |
2754 | 0 | newElementType)); |
2755 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE |
2756 | | |
2757 | | template <typename ImplClass> |
2758 | 0 | void SILCloner<ImplClass>::visitPackElementSetInst(PackElementSetInst *Inst) { |
2759 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2760 | 0 | auto loc = getOpLocation(Inst->getLoc()); |
2761 | 0 | auto newElementValue = getOpValue(Inst->getValue()); |
2762 | 0 | auto newIndex = getOpValue(Inst->getIndex()); |
2763 | 0 | auto newPack = getOpValue(Inst->getPack()); |
2764 | 0 | recordClonedInstruction( |
2765 | 0 | Inst, getBuilder().createPackElementSet(loc, newElementValue, |
2766 | 0 | newIndex, newPack)); |
2767 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE |
2768 | | |
2769 | | template <typename ImplClass> |
2770 | | void SILCloner<ImplClass>::visitTuplePackElementAddrInst( |
2771 | 0 | TuplePackElementAddrInst *Inst) { |
2772 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2773 | 0 | auto loc = getOpLocation(Inst->getLoc()); |
2774 | 0 | auto newIndex = getOpValue(Inst->getIndex()); |
2775 | 0 | auto newTuple = getOpValue(Inst->getTuple()); |
2776 | 0 | auto newElementType = getOpType(Inst->getElementType()); |
2777 | | |
2778 | | // If the tuple-ness of the operand disappears due to substitution, |
2779 | | // replace this instruction with an unchecked_addr_cast. |
2780 | | // FIXME: use type_refine_addr instead |
2781 | 0 | if (doesOpTupleDisappear(Inst->getTupleType())) { |
2782 | 0 | recordClonedInstruction( |
2783 | 0 | Inst, getBuilder().createUncheckedAddrCast(loc, newTuple, |
2784 | 0 | newElementType)); |
2785 | 0 | return; |
2786 | 0 | } |
2787 | | |
2788 | 0 | recordClonedInstruction( |
2789 | 0 | Inst, getBuilder().createTuplePackElementAddr(loc, newIndex, newTuple, |
2790 | 0 | newElementType)); |
2791 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE |
2792 | | |
2793 | | template <typename ImplClass> |
2794 | | void SILCloner<ImplClass>::visitTuplePackExtractInst( |
2795 | 0 | TuplePackExtractInst *Inst) { |
2796 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2797 | 0 | auto loc = getOpLocation(Inst->getLoc()); |
2798 | 0 | auto newIndex = getOpValue(Inst->getIndex()); |
2799 | 0 | auto newTuple = getOpValue(Inst->getTuple()); |
2800 | 0 | auto newElementType = getOpType(Inst->getElementType()); |
2801 | | |
2802 | | // If the tuple-ness of the operand disappears due to substitution, |
2803 | | // replace this instruction with an unchecked_value_cast. |
2804 | 0 | if (doesOpTupleDisappear(Inst->getTupleType())) { |
2805 | 0 | recordClonedInstruction(Inst, getBuilder().createUncheckedValueCast( |
2806 | 0 | loc, newTuple, newElementType)); |
2807 | 0 | return; |
2808 | 0 | } |
2809 | | |
2810 | 0 | recordClonedInstruction(Inst, getBuilder().createTuplePackExtract( |
2811 | 0 | loc, newIndex, newTuple, newElementType)); |
2812 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE |
2813 | | |
2814 | | template<typename ImplClass> |
2815 | | void |
2816 | 7 | SILCloner<ImplClass>::visitCopyBlockInst(CopyBlockInst *Inst) { |
2817 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2818 | 7 | recordClonedInstruction( |
2819 | 7 | Inst, Builder.createCopyBlock(getOpLocation(Inst->getLoc()), |
2820 | 7 | getOpValue(Inst->getOperand()))); |
2821 | 7 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitCopyBlockInstEPNS_13CopyBlockInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE Line | Count | Source | 2816 | 7 | SILCloner<ImplClass>::visitCopyBlockInst(CopyBlockInst *Inst) { | 2817 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2818 | 7 | recordClonedInstruction( | 2819 | 7 | Inst, Builder.createCopyBlock(getOpLocation(Inst->getLoc()), | 2820 | 7 | getOpValue(Inst->getOperand()))); | 2821 | 7 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE |
2822 | | |
2823 | | template <typename ImplClass> |
2824 | | void SILCloner<ImplClass>::visitCopyBlockWithoutEscapingInst( |
2825 | 0 | CopyBlockWithoutEscapingInst *Inst) { |
2826 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2827 | 0 | recordClonedInstruction(Inst, Builder.createCopyBlockWithoutEscaping( |
2828 | 0 | getOpLocation(Inst->getLoc()), |
2829 | 0 | getOpValue(Inst->getBlock()), |
2830 | 0 | getOpValue(Inst->getClosure()))); |
2831 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE |
2832 | | |
2833 | | template<typename ImplClass> |
2834 | | void |
2835 | 6.24k | SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) { |
2836 | 6.24k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2837 | 6.24k | recordClonedInstruction( |
2838 | 6.24k | Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()), |
2839 | 6.24k | getOpValue(Inst->getOperand()), |
2840 | 6.24k | Inst->getAtomicity())); |
2841 | 6.24k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitStrongRetainInstEPNS_16StrongRetainInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Line | Count | Source | 2835 | 41 | SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) { | 2836 | 41 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2837 | 41 | recordClonedInstruction( | 2838 | 41 | Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()), | 2839 | 41 | getOpValue(Inst->getOperand()), | 2840 | 41 | Inst->getAtomicity())); | 2841 | 41 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Line | Count | Source | 2835 | 9 | SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) { | 2836 | 9 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2837 | 9 | recordClonedInstruction( | 2838 | 9 | Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()), | 2839 | 9 | getOpValue(Inst->getOperand()), | 2840 | 9 | Inst->getAtomicity())); | 2841 | 9 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Line | Count | Source | 2835 | 62 | SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) { | 2836 | 62 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2837 | 62 | recordClonedInstruction( | 2838 | 62 | Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()), | 2839 | 62 | getOpValue(Inst->getOperand()), | 2840 | 62 | Inst->getAtomicity())); | 2841 | 62 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitStrongRetainInstEPNS_16StrongRetainInstE _ZN5swift9SILClonerINS_13GenericClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Line | Count | Source | 2835 | 3.00k | SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) { | 2836 | 3.00k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2837 | 3.00k | recordClonedInstruction( | 2838 | 3.00k | Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()), | 2839 | 3.00k | getOpValue(Inst->getOperand()), | 2840 | 3.00k | Inst->getAtomicity())); | 2841 | 3.00k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Line | Count | Source | 2835 | 3.12k | SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) { | 2836 | 3.12k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2837 | 3.12k | recordClonedInstruction( | 2838 | 3.12k | Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()), | 2839 | 3.12k | getOpValue(Inst->getOperand()), | 2840 | 3.12k | Inst->getAtomicity())); | 2841 | 3.12k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE Line | Count | Source | 2835 | 1 | SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) { | 2836 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2837 | 1 | recordClonedInstruction( | 2838 | 1 | Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()), | 2839 | 1 | getOpValue(Inst->getOperand()), | 2840 | 1 | Inst->getAtomicity())); | 2841 | 1 | } |
|
2842 | | |
2843 | | template<typename ImplClass> |
2844 | | void |
2845 | | SILCloner<ImplClass>::visitClassifyBridgeObjectInst( |
2846 | 17.2k | ClassifyBridgeObjectInst *Inst) { |
2847 | 17.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2848 | 17.2k | recordClonedInstruction( |
2849 | 17.2k | Inst, getBuilder().createClassifyBridgeObject( |
2850 | 17.2k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); |
2851 | 17.2k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Line | Count | Source | 2846 | 7 | ClassifyBridgeObjectInst *Inst) { | 2847 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2848 | 7 | recordClonedInstruction( | 2849 | 7 | Inst, getBuilder().createClassifyBridgeObject( | 2850 | 7 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 2851 | 7 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Line | Count | Source | 2846 | 9 | ClassifyBridgeObjectInst *Inst) { | 2847 | 9 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2848 | 9 | recordClonedInstruction( | 2849 | 9 | Inst, getBuilder().createClassifyBridgeObject( | 2850 | 9 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 2851 | 9 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Line | Count | Source | 2846 | 125 | ClassifyBridgeObjectInst *Inst) { | 2847 | 125 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2848 | 125 | recordClonedInstruction( | 2849 | 125 | Inst, getBuilder().createClassifyBridgeObject( | 2850 | 125 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 2851 | 125 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE _ZN5swift9SILClonerINS_13GenericClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Line | Count | Source | 2846 | 12.3k | ClassifyBridgeObjectInst *Inst) { | 2847 | 12.3k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2848 | 12.3k | recordClonedInstruction( | 2849 | 12.3k | Inst, getBuilder().createClassifyBridgeObject( | 2850 | 12.3k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 2851 | 12.3k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Line | Count | Source | 2846 | 4.76k | ClassifyBridgeObjectInst *Inst) { | 2847 | 4.76k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2848 | 4.76k | recordClonedInstruction( | 2849 | 4.76k | Inst, getBuilder().createClassifyBridgeObject( | 2850 | 4.76k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 2851 | 4.76k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE Line | Count | Source | 2846 | 3 | ClassifyBridgeObjectInst *Inst) { | 2847 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2848 | 3 | recordClonedInstruction( | 2849 | 3 | Inst, getBuilder().createClassifyBridgeObject( | 2850 | 3 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()))); | 2851 | 3 | } |
|
2852 | | |
2853 | | template<typename ImplClass> |
2854 | | void |
2855 | 2.00k | SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) { |
2856 | 2.00k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2857 | 2.00k | recordClonedInstruction( |
2858 | 2.00k | Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()), |
2859 | 2.00k | getOpValue(Inst->getOperand()))); |
2860 | 2.00k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Line | Count | Source | 2855 | 4 | SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) { | 2856 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2857 | 4 | recordClonedInstruction( | 2858 | 4 | Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()), | 2859 | 4 | getOpValue(Inst->getOperand()))); | 2860 | 4 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Line | Count | Source | 2855 | 7 | SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) { | 2856 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2857 | 7 | recordClonedInstruction( | 2858 | 7 | Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()), | 2859 | 7 | getOpValue(Inst->getOperand()))); | 2860 | 7 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Line | Count | Source | 2855 | 2 | SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) { | 2856 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2857 | 2 | recordClonedInstruction( | 2858 | 2 | Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()), | 2859 | 2 | getOpValue(Inst->getOperand()))); | 2860 | 2 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Line | Count | Source | 2855 | 94 | SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) { | 2856 | 94 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2857 | 94 | recordClonedInstruction( | 2858 | 94 | Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()), | 2859 | 94 | getOpValue(Inst->getOperand()))); | 2860 | 94 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE _ZN5swift9SILClonerINS_13GenericClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Line | Count | Source | 2855 | 682 | SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) { | 2856 | 682 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2857 | 682 | recordClonedInstruction( | 2858 | 682 | Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()), | 2859 | 682 | getOpValue(Inst->getOperand()))); | 2860 | 682 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Line | Count | Source | 2855 | 947 | SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) { | 2856 | 947 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2857 | 947 | recordClonedInstruction( | 2858 | 947 | Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()), | 2859 | 947 | getOpValue(Inst->getOperand()))); | 2860 | 947 | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE Line | Count | Source | 2855 | 269 | SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) { | 2856 | 269 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2857 | 269 | recordClonedInstruction( | 2858 | 269 | Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()), | 2859 | 269 | getOpValue(Inst->getOperand()))); | 2860 | 269 | } |
|
2861 | | |
2862 | | template <typename ImplClass> |
2863 | 2 | void SILCloner<ImplClass>::visitEndLifetimeInst(EndLifetimeInst *Inst) { |
2864 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2865 | | |
2866 | | // These are only needed in OSSA. |
2867 | 2 | if (!getBuilder().hasOwnership()) |
2868 | 0 | return; |
2869 | | |
2870 | 2 | recordClonedInstruction( |
2871 | 2 | Inst, getBuilder().createEndLifetime(getOpLocation(Inst->getLoc()), |
2872 | 2 | getOpValue(Inst->getOperand()))); |
2873 | 2 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Line | Count | Source | 2863 | 2 | void SILCloner<ImplClass>::visitEndLifetimeInst(EndLifetimeInst *Inst) { | 2864 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2865 | | | 2866 | | // These are only needed in OSSA. | 2867 | 2 | if (!getBuilder().hasOwnership()) | 2868 | 0 | return; | 2869 | | | 2870 | 2 | recordClonedInstruction( | 2871 | 2 | Inst, getBuilder().createEndLifetime(getOpLocation(Inst->getLoc()), | 2872 | 2 | getOpValue(Inst->getOperand()))); | 2873 | 2 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE |
2874 | | |
2875 | | template <typename ImplClass> |
2876 | | void SILCloner<ImplClass>::visitUncheckedOwnershipConversionInst( |
2877 | 24 | UncheckedOwnershipConversionInst *Inst) { |
2878 | 24 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2879 | | |
2880 | 24 | if (!getBuilder().hasOwnership()) { |
2881 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); |
2882 | 0 | } |
2883 | | |
2884 | 24 | ValueOwnershipKind Kind = SILValue(Inst)->getOwnershipKind(); |
2885 | 24 | if (getOpValue(Inst->getOperand())->getOwnershipKind() == |
2886 | 24 | OwnershipKind::None) { |
2887 | 0 | Kind = OwnershipKind::None; |
2888 | 0 | } |
2889 | 24 | recordClonedInstruction(Inst, getBuilder().createUncheckedOwnershipConversion( |
2890 | 24 | getOpLocation(Inst->getLoc()), |
2891 | 24 | getOpValue(Inst->getOperand()), Kind)); |
2892 | 24 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Line | Count | Source | 2877 | 1 | UncheckedOwnershipConversionInst *Inst) { | 2878 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2879 | | | 2880 | 1 | if (!getBuilder().hasOwnership()) { | 2881 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 2882 | 0 | } | 2883 | | | 2884 | 1 | ValueOwnershipKind Kind = SILValue(Inst)->getOwnershipKind(); | 2885 | 1 | if (getOpValue(Inst->getOperand())->getOwnershipKind() == | 2886 | 1 | OwnershipKind::None) { | 2887 | 0 | Kind = OwnershipKind::None; | 2888 | 0 | } | 2889 | 1 | recordClonedInstruction(Inst, getBuilder().createUncheckedOwnershipConversion( | 2890 | 1 | getOpLocation(Inst->getLoc()), | 2891 | 1 | getOpValue(Inst->getOperand()), Kind)); | 2892 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE Line | Count | Source | 2877 | 23 | UncheckedOwnershipConversionInst *Inst) { | 2878 | 23 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2879 | | | 2880 | 23 | if (!getBuilder().hasOwnership()) { | 2881 | 0 | return recordFoldedValue(Inst, getOpValue(Inst->getOperand())); | 2882 | 0 | } | 2883 | | | 2884 | 23 | ValueOwnershipKind Kind = SILValue(Inst)->getOwnershipKind(); | 2885 | 23 | if (getOpValue(Inst->getOperand())->getOwnershipKind() == | 2886 | 23 | OwnershipKind::None) { | 2887 | 0 | Kind = OwnershipKind::None; | 2888 | 0 | } | 2889 | 23 | recordClonedInstruction(Inst, getBuilder().createUncheckedOwnershipConversion( | 2890 | 23 | getOpLocation(Inst->getLoc()), | 2891 | 23 | getOpValue(Inst->getOperand()), Kind)); | 2892 | 23 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE |
2893 | | |
2894 | | template <typename ImplClass> |
2895 | 635 | void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) { |
2896 | 635 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2897 | 635 | recordClonedInstruction( |
2898 | 635 | Inst, getBuilder().createMarkDependence( |
2899 | 635 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()), |
2900 | 635 | getOpValue(Inst->getBase()), |
2901 | 635 | getBuilder().hasOwnership() |
2902 | 635 | ? Inst->getForwardingOwnershipKind() |
2903 | 635 | : ValueOwnershipKind(OwnershipKind::None))); |
2904 | 635 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Line | Count | Source | 2895 | 66 | void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) { | 2896 | 66 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2897 | 66 | recordClonedInstruction( | 2898 | 66 | Inst, getBuilder().createMarkDependence( | 2899 | 66 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()), | 2900 | 66 | getOpValue(Inst->getBase()), | 2901 | 66 | getBuilder().hasOwnership() | 2902 | 66 | ? Inst->getForwardingOwnershipKind() | 2903 | 66 | : ValueOwnershipKind(OwnershipKind::None))); | 2904 | 66 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Line | Count | Source | 2895 | 7 | void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) { | 2896 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2897 | 7 | recordClonedInstruction( | 2898 | 7 | Inst, getBuilder().createMarkDependence( | 2899 | 7 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()), | 2900 | 7 | getOpValue(Inst->getBase()), | 2901 | 7 | getBuilder().hasOwnership() | 2902 | 7 | ? Inst->getForwardingOwnershipKind() | 2903 | 7 | : ValueOwnershipKind(OwnershipKind::None))); | 2904 | 7 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Line | Count | Source | 2895 | 1 | void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) { | 2896 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2897 | 1 | recordClonedInstruction( | 2898 | 1 | Inst, getBuilder().createMarkDependence( | 2899 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()), | 2900 | 1 | getOpValue(Inst->getBase()), | 2901 | 1 | getBuilder().hasOwnership() | 2902 | 1 | ? Inst->getForwardingOwnershipKind() | 2903 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 2904 | 1 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Line | Count | Source | 2895 | 2 | void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) { | 2896 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2897 | 2 | recordClonedInstruction( | 2898 | 2 | Inst, getBuilder().createMarkDependence( | 2899 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()), | 2900 | 2 | getOpValue(Inst->getBase()), | 2901 | 2 | getBuilder().hasOwnership() | 2902 | 2 | ? Inst->getForwardingOwnershipKind() | 2903 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 2904 | 2 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Line | Count | Source | 2895 | 2 | void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) { | 2896 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2897 | 2 | recordClonedInstruction( | 2898 | 2 | Inst, getBuilder().createMarkDependence( | 2899 | 2 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()), | 2900 | 2 | getOpValue(Inst->getBase()), | 2901 | 2 | getBuilder().hasOwnership() | 2902 | 2 | ? Inst->getForwardingOwnershipKind() | 2903 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 2904 | 2 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE _ZN5swift9SILClonerINS_13GenericClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Line | Count | Source | 2895 | 165 | void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) { | 2896 | 165 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2897 | 165 | recordClonedInstruction( | 2898 | 165 | Inst, getBuilder().createMarkDependence( | 2899 | 165 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()), | 2900 | 165 | getOpValue(Inst->getBase()), | 2901 | 165 | getBuilder().hasOwnership() | 2902 | 165 | ? Inst->getForwardingOwnershipKind() | 2903 | 165 | : ValueOwnershipKind(OwnershipKind::None))); | 2904 | 165 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Line | Count | Source | 2895 | 391 | void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) { | 2896 | 391 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2897 | 391 | recordClonedInstruction( | 2898 | 391 | Inst, getBuilder().createMarkDependence( | 2899 | 391 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()), | 2900 | 391 | getOpValue(Inst->getBase()), | 2901 | 391 | getBuilder().hasOwnership() | 2902 | 391 | ? Inst->getForwardingOwnershipKind() | 2903 | 391 | : ValueOwnershipKind(OwnershipKind::None))); | 2904 | 391 | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE Line | Count | Source | 2895 | 1 | void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) { | 2896 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2897 | 1 | recordClonedInstruction( | 2898 | 1 | Inst, getBuilder().createMarkDependence( | 2899 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()), | 2900 | 1 | getOpValue(Inst->getBase()), | 2901 | 1 | getBuilder().hasOwnership() | 2902 | 1 | ? Inst->getForwardingOwnershipKind() | 2903 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 2904 | 1 | } |
|
2905 | | |
2906 | | template<typename ImplClass> |
2907 | | void |
2908 | 8.81k | SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) { |
2909 | 8.81k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2910 | 8.81k | recordClonedInstruction( |
2911 | 8.81k | Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()), |
2912 | 8.81k | getOpValue(Inst->getOperand()), |
2913 | 8.81k | Inst->getAtomicity())); |
2914 | 8.81k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Line | Count | Source | 2908 | 353 | SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) { | 2909 | 353 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2910 | 353 | recordClonedInstruction( | 2911 | 353 | Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()), | 2912 | 353 | getOpValue(Inst->getOperand()), | 2913 | 353 | Inst->getAtomicity())); | 2914 | 353 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Line | Count | Source | 2908 | 157 | SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) { | 2909 | 157 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2910 | 157 | recordClonedInstruction( | 2911 | 157 | Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()), | 2912 | 157 | getOpValue(Inst->getOperand()), | 2913 | 157 | Inst->getAtomicity())); | 2914 | 157 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Line | Count | Source | 2908 | 1 | SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) { | 2909 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2910 | 1 | recordClonedInstruction( | 2911 | 1 | Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()), | 2912 | 1 | getOpValue(Inst->getOperand()), | 2913 | 1 | Inst->getAtomicity())); | 2914 | 1 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Line | Count | Source | 2908 | 300 | SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) { | 2909 | 300 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2910 | 300 | recordClonedInstruction( | 2911 | 300 | Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()), | 2912 | 300 | getOpValue(Inst->getOperand()), | 2913 | 300 | Inst->getAtomicity())); | 2914 | 300 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Line | Count | Source | 2908 | 4 | SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) { | 2909 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2910 | 4 | recordClonedInstruction( | 2911 | 4 | Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()), | 2912 | 4 | getOpValue(Inst->getOperand()), | 2913 | 4 | Inst->getAtomicity())); | 2914 | 4 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE _ZN5swift9SILClonerINS_13GenericClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Line | Count | Source | 2908 | 3.82k | SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) { | 2909 | 3.82k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2910 | 3.82k | recordClonedInstruction( | 2911 | 3.82k | Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()), | 2912 | 3.82k | getOpValue(Inst->getOperand()), | 2913 | 3.82k | Inst->getAtomicity())); | 2914 | 3.82k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Line | Count | Source | 2908 | 4.17k | SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) { | 2909 | 4.17k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2910 | 4.17k | recordClonedInstruction( | 2911 | 4.17k | Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()), | 2912 | 4.17k | getOpValue(Inst->getOperand()), | 2913 | 4.17k | Inst->getAtomicity())); | 2914 | 4.17k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE Line | Count | Source | 2908 | 3 | SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) { | 2909 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2910 | 3 | recordClonedInstruction( | 2911 | 3 | Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()), | 2912 | 3 | getOpValue(Inst->getOperand()), | 2913 | 3 | Inst->getAtomicity())); | 2914 | 3 | } |
|
2915 | | |
2916 | | template<typename ImplClass> |
2917 | 1.38k | void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) { |
2918 | 1.38k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2919 | 1.38k | recordClonedInstruction( |
2920 | 1.38k | Inst, getBuilder().createIsUnique(getOpLocation(Inst->getLoc()), |
2921 | 1.38k | getOpValue(Inst->getOperand()))); |
2922 | 1.38k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitIsUniqueInstEPNS_12IsUniqueInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Line | Count | Source | 2917 | 4 | void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) { | 2918 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2919 | 4 | recordClonedInstruction( | 2920 | 4 | Inst, getBuilder().createIsUnique(getOpLocation(Inst->getLoc()), | 2921 | 4 | getOpValue(Inst->getOperand()))); | 2922 | 4 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Line | Count | Source | 2917 | 22 | void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) { | 2918 | 22 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2919 | 22 | recordClonedInstruction( | 2920 | 22 | Inst, getBuilder().createIsUnique(getOpLocation(Inst->getLoc()), | 2921 | 22 | getOpValue(Inst->getOperand()))); | 2922 | 22 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitIsUniqueInstEPNS_12IsUniqueInstE _ZN5swift9SILClonerINS_13GenericClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Line | Count | Source | 2917 | 1.09k | void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) { | 2918 | 1.09k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2919 | 1.09k | recordClonedInstruction( | 2920 | 1.09k | Inst, getBuilder().createIsUnique(getOpLocation(Inst->getLoc()), | 2921 | 1.09k | getOpValue(Inst->getOperand()))); | 2922 | 1.09k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE Line | Count | Source | 2917 | 262 | void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) { | 2918 | 262 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2919 | 262 | recordClonedInstruction( | 2920 | 262 | Inst, getBuilder().createIsUnique(getOpLocation(Inst->getLoc()), | 2921 | 262 | getOpValue(Inst->getOperand()))); | 2922 | 262 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE |
2923 | | template<typename ImplClass> |
2924 | 1.45k | void SILCloner<ImplClass>::visitBeginCOWMutationInst(BeginCOWMutationInst *Inst) { |
2925 | 1.45k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2926 | 1.45k | recordClonedInstruction( |
2927 | 1.45k | Inst, getBuilder().createBeginCOWMutation(getOpLocation(Inst->getLoc()), |
2928 | 1.45k | getOpValue(Inst->getOperand()), Inst->isNative())); |
2929 | 1.45k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Line | Count | Source | 2924 | 1 | void SILCloner<ImplClass>::visitBeginCOWMutationInst(BeginCOWMutationInst *Inst) { | 2925 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2926 | 1 | recordClonedInstruction( | 2927 | 1 | Inst, getBuilder().createBeginCOWMutation(getOpLocation(Inst->getLoc()), | 2928 | 1 | getOpValue(Inst->getOperand()), Inst->isNative())); | 2929 | 1 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Line | Count | Source | 2924 | 89 | void SILCloner<ImplClass>::visitBeginCOWMutationInst(BeginCOWMutationInst *Inst) { | 2925 | 89 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2926 | 89 | recordClonedInstruction( | 2927 | 89 | Inst, getBuilder().createBeginCOWMutation(getOpLocation(Inst->getLoc()), | 2928 | 89 | getOpValue(Inst->getOperand()), Inst->isNative())); | 2929 | 89 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE _ZN5swift9SILClonerINS_13GenericClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Line | Count | Source | 2924 | 632 | void SILCloner<ImplClass>::visitBeginCOWMutationInst(BeginCOWMutationInst *Inst) { | 2925 | 632 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2926 | 632 | recordClonedInstruction( | 2927 | 632 | Inst, getBuilder().createBeginCOWMutation(getOpLocation(Inst->getLoc()), | 2928 | 632 | getOpValue(Inst->getOperand()), Inst->isNative())); | 2929 | 632 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE Line | Count | Source | 2924 | 733 | void SILCloner<ImplClass>::visitBeginCOWMutationInst(BeginCOWMutationInst *Inst) { | 2925 | 733 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2926 | 733 | recordClonedInstruction( | 2927 | 733 | Inst, getBuilder().createBeginCOWMutation(getOpLocation(Inst->getLoc()), | 2928 | 733 | getOpValue(Inst->getOperand()), Inst->isNative())); | 2929 | 733 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE |
2930 | | template<typename ImplClass> |
2931 | 1.77k | void SILCloner<ImplClass>::visitEndCOWMutationInst(EndCOWMutationInst *Inst) { |
2932 | 1.77k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2933 | 1.77k | recordClonedInstruction( |
2934 | 1.77k | Inst, getBuilder().createEndCOWMutation(getOpLocation(Inst->getLoc()), |
2935 | 1.77k | getOpValue(Inst->getOperand()), Inst->doKeepUnique())); |
2936 | 1.77k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Line | Count | Source | 2931 | 1 | void SILCloner<ImplClass>::visitEndCOWMutationInst(EndCOWMutationInst *Inst) { | 2932 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2933 | 1 | recordClonedInstruction( | 2934 | 1 | Inst, getBuilder().createEndCOWMutation(getOpLocation(Inst->getLoc()), | 2935 | 1 | getOpValue(Inst->getOperand()), Inst->doKeepUnique())); | 2936 | 1 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Line | Count | Source | 2931 | 83 | void SILCloner<ImplClass>::visitEndCOWMutationInst(EndCOWMutationInst *Inst) { | 2932 | 83 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2933 | 83 | recordClonedInstruction( | 2934 | 83 | Inst, getBuilder().createEndCOWMutation(getOpLocation(Inst->getLoc()), | 2935 | 83 | getOpValue(Inst->getOperand()), Inst->doKeepUnique())); | 2936 | 83 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE _ZN5swift9SILClonerINS_13GenericClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Line | Count | Source | 2931 | 387 | void SILCloner<ImplClass>::visitEndCOWMutationInst(EndCOWMutationInst *Inst) { | 2932 | 387 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2933 | 387 | recordClonedInstruction( | 2934 | 387 | Inst, getBuilder().createEndCOWMutation(getOpLocation(Inst->getLoc()), | 2935 | 387 | getOpValue(Inst->getOperand()), Inst->doKeepUnique())); | 2936 | 387 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE Line | Count | Source | 2931 | 1.30k | void SILCloner<ImplClass>::visitEndCOWMutationInst(EndCOWMutationInst *Inst) { | 2932 | 1.30k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2933 | 1.30k | recordClonedInstruction( | 2934 | 1.30k | Inst, getBuilder().createEndCOWMutation(getOpLocation(Inst->getLoc()), | 2935 | 1.30k | getOpValue(Inst->getOperand()), Inst->doKeepUnique())); | 2936 | 1.30k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE |
2937 | | template <typename ImplClass> |
2938 | | void SILCloner<ImplClass>::visitIsEscapingClosureInst( |
2939 | 1 | IsEscapingClosureInst *Inst) { |
2940 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2941 | 1 | recordClonedInstruction( |
2942 | 1 | Inst, getBuilder().createIsEscapingClosure(getOpLocation(Inst->getLoc()), |
2943 | 1 | getOpValue(Inst->getOperand()), |
2944 | 1 | Inst->getVerificationType())); |
2945 | 1 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE Line | Count | Source | 2939 | 1 | IsEscapingClosureInst *Inst) { | 2940 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2941 | 1 | recordClonedInstruction( | 2942 | 1 | Inst, getBuilder().createIsEscapingClosure(getOpLocation(Inst->getLoc()), | 2943 | 1 | getOpValue(Inst->getOperand()), | 2944 | 1 | Inst->getVerificationType())); | 2945 | 1 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE |
2946 | | |
2947 | | template<typename ImplClass> |
2948 | | void |
2949 | 101k | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { |
2950 | 101k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2951 | 101k | recordClonedInstruction( |
2952 | 101k | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), |
2953 | 101k | getOpValue(Inst->getOperand()))); |
2954 | 101k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 312 | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 312 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 312 | recordClonedInstruction( | 2952 | 312 | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 312 | getOpValue(Inst->getOperand()))); | 2954 | 312 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 1.71k | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 1.71k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 1.71k | recordClonedInstruction( | 2952 | 1.71k | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 1.71k | getOpValue(Inst->getOperand()))); | 2954 | 1.71k | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 859 | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 859 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 859 | recordClonedInstruction( | 2952 | 859 | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 859 | getOpValue(Inst->getOperand()))); | 2954 | 859 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 920 | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 920 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 920 | recordClonedInstruction( | 2952 | 920 | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 920 | getOpValue(Inst->getOperand()))); | 2954 | 920 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 133 | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 133 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 133 | recordClonedInstruction( | 2952 | 133 | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 133 | getOpValue(Inst->getOperand()))); | 2954 | 133 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 1.27k | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 1.27k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 1.27k | recordClonedInstruction( | 2952 | 1.27k | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 1.27k | getOpValue(Inst->getOperand()))); | 2954 | 1.27k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 28 | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 28 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 28 | recordClonedInstruction( | 2952 | 28 | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 28 | getOpValue(Inst->getOperand()))); | 2954 | 28 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 52 | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 52 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 52 | recordClonedInstruction( | 2952 | 52 | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 52 | getOpValue(Inst->getOperand()))); | 2954 | 52 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 52 | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 52 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 52 | recordClonedInstruction( | 2952 | 52 | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 52 | getOpValue(Inst->getOperand()))); | 2954 | 52 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitDeallocStackInstEPNS_16DeallocStackInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 63 | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 63 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 63 | recordClonedInstruction( | 2952 | 63 | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 63 | getOpValue(Inst->getOperand()))); | 2954 | 63 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitDeallocStackInstEPNS_16DeallocStackInstE _ZN5swift9SILClonerINS_13GenericClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 45.2k | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 45.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 45.2k | recordClonedInstruction( | 2952 | 45.2k | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 45.2k | getOpValue(Inst->getOperand()))); | 2954 | 45.2k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE Line | Count | Source | 2949 | 51.2k | SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) { | 2950 | 51.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2951 | 51.2k | recordClonedInstruction( | 2952 | 51.2k | Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()), | 2953 | 51.2k | getOpValue(Inst->getOperand()))); | 2954 | 51.2k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE |
2955 | | |
2956 | | template<typename ImplClass> |
2957 | | void |
2958 | 0 | SILCloner<ImplClass>::visitDeallocPackInst(DeallocPackInst *Inst) { |
2959 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2960 | 0 | recordClonedInstruction( |
2961 | 0 | Inst, getBuilder().createDeallocPack(getOpLocation(Inst->getLoc()), |
2962 | 0 | getOpValue(Inst->getOperand()))); |
2963 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE |
2964 | | |
2965 | | template <typename ImplClass> |
2966 | | void SILCloner<ImplClass>::visitDeallocPackMetadataInst( |
2967 | 0 | DeallocPackMetadataInst *Inst) { |
2968 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2969 | 0 | recordClonedInstruction( |
2970 | 0 | Inst, getBuilder().createDeallocPackMetadata( |
2971 | 0 | getOpLocation(Inst->getLoc()), Inst->getOperand())); |
2972 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE |
2973 | | |
2974 | | template<typename ImplClass> |
2975 | | void |
2976 | 94 | SILCloner<ImplClass>::visitDeallocRefInst(DeallocRefInst *Inst) { |
2977 | 94 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2978 | 94 | recordClonedInstruction( |
2979 | 94 | Inst, getBuilder().createDeallocRef(getOpLocation(Inst->getLoc()), |
2980 | 94 | getOpValue(Inst->getOperand()))); |
2981 | 94 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitDeallocRefInstEPNS_14DeallocRefInstE Line | Count | Source | 2976 | 2 | SILCloner<ImplClass>::visitDeallocRefInst(DeallocRefInst *Inst) { | 2977 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2978 | 2 | recordClonedInstruction( | 2979 | 2 | Inst, getBuilder().createDeallocRef(getOpLocation(Inst->getLoc()), | 2980 | 2 | getOpValue(Inst->getOperand()))); | 2981 | 2 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitDeallocRefInstEPNS_14DeallocRefInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Line | Count | Source | 2976 | 12 | SILCloner<ImplClass>::visitDeallocRefInst(DeallocRefInst *Inst) { | 2977 | 12 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2978 | 12 | recordClonedInstruction( | 2979 | 12 | Inst, getBuilder().createDeallocRef(getOpLocation(Inst->getLoc()), | 2980 | 12 | getOpValue(Inst->getOperand()))); | 2981 | 12 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE Line | Count | Source | 2976 | 80 | SILCloner<ImplClass>::visitDeallocRefInst(DeallocRefInst *Inst) { | 2977 | 80 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 2978 | 80 | recordClonedInstruction( | 2979 | 80 | Inst, getBuilder().createDeallocRef(getOpLocation(Inst->getLoc()), | 2980 | 80 | getOpValue(Inst->getOperand()))); | 2981 | 80 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE |
2982 | | |
2983 | | template<typename ImplClass> |
2984 | | void |
2985 | 0 | SILCloner<ImplClass>::visitDeallocStackRefInst(DeallocStackRefInst *Inst) { |
2986 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2987 | 0 | recordClonedInstruction( |
2988 | 0 | Inst, getBuilder().createDeallocStackRef(getOpLocation(Inst->getLoc()), |
2989 | 0 | getOpValue(Inst->getOperand()))); |
2990 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE |
2991 | | |
2992 | | template<typename ImplClass> |
2993 | | void |
2994 | 0 | SILCloner<ImplClass>::visitDeallocPartialRefInst(DeallocPartialRefInst *Inst) { |
2995 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
2996 | 0 | recordClonedInstruction(Inst, getBuilder().createDeallocPartialRef( |
2997 | 0 | getOpLocation(Inst->getLoc()), |
2998 | 0 | getOpValue(Inst->getInstance()), |
2999 | 0 | getOpValue(Inst->getMetatype()))); |
3000 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE |
3001 | | |
3002 | | template<typename ImplClass> |
3003 | | void |
3004 | 0 | SILCloner<ImplClass>::visitDeallocBoxInst(DeallocBoxInst *Inst) { |
3005 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3006 | 0 | recordClonedInstruction( |
3007 | 0 | Inst, getBuilder().createDeallocBox(getOpLocation(Inst->getLoc()), |
3008 | 0 | getOpValue(Inst->getOperand()))); |
3009 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE |
3010 | | |
3011 | | template<typename ImplClass> |
3012 | | void |
3013 | | SILCloner<ImplClass>::visitDeallocExistentialBoxInst( |
3014 | 0 | DeallocExistentialBoxInst *Inst) { |
3015 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3016 | 0 | recordClonedInstruction(Inst, getBuilder().createDeallocExistentialBox( |
3017 | 0 | getOpLocation(Inst->getLoc()), |
3018 | 0 | getOpASTType(Inst->getConcreteType()), |
3019 | 0 | getOpValue(Inst->getOperand()))); |
3020 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE |
3021 | | |
3022 | | template<typename ImplClass> |
3023 | | void |
3024 | 43.5k | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { |
3025 | 43.5k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3026 | 43.5k | recordClonedInstruction( |
3027 | 43.5k | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), |
3028 | 43.5k | getOpValue(Inst->getOperand()))); |
3029 | 43.5k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 44 | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 44 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 44 | recordClonedInstruction( | 3027 | 44 | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 44 | getOpValue(Inst->getOperand()))); | 3029 | 44 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 509 | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 509 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 509 | recordClonedInstruction( | 3027 | 509 | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 509 | getOpValue(Inst->getOperand()))); | 3029 | 509 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 3 | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 3 | recordClonedInstruction( | 3027 | 3 | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 3 | getOpValue(Inst->getOperand()))); | 3029 | 3 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 57 | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 57 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 57 | recordClonedInstruction( | 3027 | 57 | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 57 | getOpValue(Inst->getOperand()))); | 3029 | 57 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 53 | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 53 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 53 | recordClonedInstruction( | 3027 | 53 | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 53 | getOpValue(Inst->getOperand()))); | 3029 | 53 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 20 | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 20 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 20 | recordClonedInstruction( | 3027 | 20 | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 20 | getOpValue(Inst->getOperand()))); | 3029 | 20 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 1 | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 1 | recordClonedInstruction( | 3027 | 1 | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 1 | getOpValue(Inst->getOperand()))); | 3029 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 26 | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 26 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 26 | recordClonedInstruction( | 3027 | 26 | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 26 | getOpValue(Inst->getOperand()))); | 3029 | 26 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 23 | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 23 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 23 | recordClonedInstruction( | 3027 | 23 | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 23 | getOpValue(Inst->getOperand()))); | 3029 | 23 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 21.0k | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 21.0k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 21.0k | recordClonedInstruction( | 3027 | 21.0k | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 21.0k | getOpValue(Inst->getOperand()))); | 3029 | 21.0k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 21.8k | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 21.8k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 21.8k | recordClonedInstruction( | 3027 | 21.8k | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 21.8k | getOpValue(Inst->getOperand()))); | 3029 | 21.8k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE Line | Count | Source | 3024 | 1 | SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) { | 3025 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3026 | 1 | recordClonedInstruction( | 3027 | 1 | Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()), | 3028 | 1 | getOpValue(Inst->getOperand()))); | 3029 | 1 | } |
|
3030 | | |
3031 | | template<typename ImplClass> |
3032 | 125 | void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) { |
3033 | 125 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3034 | 125 | recordClonedInstruction( |
3035 | 125 | Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()), |
3036 | 125 | getOpValue(Inst->getOperand()), |
3037 | 125 | Inst->getFieldIndex())); |
3038 | 125 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitProjectBoxInstEPNS_14ProjectBoxInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Line | Count | Source | 3032 | 2 | void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) { | 3033 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3034 | 2 | recordClonedInstruction( | 3035 | 2 | Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()), | 3036 | 2 | getOpValue(Inst->getOperand()), | 3037 | 2 | Inst->getFieldIndex())); | 3038 | 2 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Line | Count | Source | 3032 | 8 | void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) { | 3033 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3034 | 8 | recordClonedInstruction( | 3035 | 8 | Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()), | 3036 | 8 | getOpValue(Inst->getOperand()), | 3037 | 8 | Inst->getFieldIndex())); | 3038 | 8 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Line | Count | Source | 3032 | 10 | void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) { | 3033 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3034 | 10 | recordClonedInstruction( | 3035 | 10 | Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()), | 3036 | 10 | getOpValue(Inst->getOperand()), | 3037 | 10 | Inst->getFieldIndex())); | 3038 | 10 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitProjectBoxInstEPNS_14ProjectBoxInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Line | Count | Source | 3032 | 35 | void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) { | 3033 | 35 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3034 | 35 | recordClonedInstruction( | 3035 | 35 | Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()), | 3036 | 35 | getOpValue(Inst->getOperand()), | 3037 | 35 | Inst->getFieldIndex())); | 3038 | 35 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE Line | Count | Source | 3032 | 70 | void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) { | 3033 | 70 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3034 | 70 | recordClonedInstruction( | 3035 | 70 | Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()), | 3036 | 70 | getOpValue(Inst->getOperand()), | 3037 | 70 | Inst->getFieldIndex())); | 3038 | 70 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE |
3039 | | |
3040 | | template<typename ImplClass> |
3041 | | void SILCloner<ImplClass>::visitProjectExistentialBoxInst( |
3042 | 28 | ProjectExistentialBoxInst *Inst) { |
3043 | 28 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3044 | 28 | recordClonedInstruction(Inst, getBuilder().createProjectExistentialBox( |
3045 | 28 | getOpLocation(Inst->getLoc()), |
3046 | 28 | getOpType(Inst->getType()), |
3047 | 28 | getOpValue(Inst->getOperand()))); |
3048 | 28 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Line | Count | Source | 3042 | 1 | ProjectExistentialBoxInst *Inst) { | 3043 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3044 | 1 | recordClonedInstruction(Inst, getBuilder().createProjectExistentialBox( | 3045 | 1 | getOpLocation(Inst->getLoc()), | 3046 | 1 | getOpType(Inst->getType()), | 3047 | 1 | getOpValue(Inst->getOperand()))); | 3048 | 1 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE _ZN5swift9SILClonerINS_13GenericClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Line | Count | Source | 3042 | 10 | ProjectExistentialBoxInst *Inst) { | 3043 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3044 | 10 | recordClonedInstruction(Inst, getBuilder().createProjectExistentialBox( | 3045 | 10 | getOpLocation(Inst->getLoc()), | 3046 | 10 | getOpType(Inst->getType()), | 3047 | 10 | getOpValue(Inst->getOperand()))); | 3048 | 10 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE Line | Count | Source | 3042 | 17 | ProjectExistentialBoxInst *Inst) { | 3043 | 17 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3044 | 17 | recordClonedInstruction(Inst, getBuilder().createProjectExistentialBox( | 3045 | 17 | getOpLocation(Inst->getLoc()), | 3046 | 17 | getOpType(Inst->getType()), | 3047 | 17 | getOpValue(Inst->getOperand()))); | 3048 | 17 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE |
3049 | | |
3050 | | template<typename ImplClass> |
3051 | | void |
3052 | 94.1k | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { |
3053 | 94.1k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3054 | 94.1k | recordClonedInstruction( |
3055 | 94.1k | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), |
3056 | 94.1k | getOpValue(Inst->getOperand()), |
3057 | 94.1k | Inst->getMessage())); |
3058 | 94.1k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitCondFailInstEPNS_12CondFailInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitCondFailInstEPNS_12CondFailInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitCondFailInstEPNS_12CondFailInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitCondFailInstEPNS_12CondFailInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitCondFailInstEPNS_12CondFailInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitCondFailInstEPNS_12CondFailInstE Line | Count | Source | 3052 | 162 | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { | 3053 | 162 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3054 | 162 | recordClonedInstruction( | 3055 | 162 | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), | 3056 | 162 | getOpValue(Inst->getOperand()), | 3057 | 162 | Inst->getMessage())); | 3058 | 162 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitCondFailInstEPNS_12CondFailInstE Line | Count | Source | 3052 | 19 | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { | 3053 | 19 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3054 | 19 | recordClonedInstruction( | 3055 | 19 | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), | 3056 | 19 | getOpValue(Inst->getOperand()), | 3057 | 19 | Inst->getMessage())); | 3058 | 19 | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitCondFailInstEPNS_12CondFailInstE Line | Count | Source | 3052 | 1 | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { | 3053 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3054 | 1 | recordClonedInstruction( | 3055 | 1 | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), | 3056 | 1 | getOpValue(Inst->getOperand()), | 3057 | 1 | Inst->getMessage())); | 3058 | 1 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitCondFailInstEPNS_12CondFailInstE Line | Count | Source | 3052 | 1.02k | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { | 3053 | 1.02k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3054 | 1.02k | recordClonedInstruction( | 3055 | 1.02k | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), | 3056 | 1.02k | getOpValue(Inst->getOperand()), | 3057 | 1.02k | Inst->getMessage())); | 3058 | 1.02k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitCondFailInstEPNS_12CondFailInstE Line | Count | Source | 3052 | 3 | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { | 3053 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3054 | 3 | recordClonedInstruction( | 3055 | 3 | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), | 3056 | 3 | getOpValue(Inst->getOperand()), | 3057 | 3 | Inst->getMessage())); | 3058 | 3 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitCondFailInstEPNS_12CondFailInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitCondFailInstEPNS_12CondFailInstE Line | Count | Source | 3052 | 20 | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { | 3053 | 20 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3054 | 20 | recordClonedInstruction( | 3055 | 20 | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), | 3056 | 20 | getOpValue(Inst->getOperand()), | 3057 | 20 | Inst->getMessage())); | 3058 | 20 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitCondFailInstEPNS_12CondFailInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitCondFailInstEPNS_12CondFailInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitCondFailInstEPNS_12CondFailInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitCondFailInstEPNS_12CondFailInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitCondFailInstEPNS_12CondFailInstE Line | Count | Source | 3052 | 2 | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { | 3053 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3054 | 2 | recordClonedInstruction( | 3055 | 2 | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), | 3056 | 2 | getOpValue(Inst->getOperand()), | 3057 | 2 | Inst->getMessage())); | 3058 | 2 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitCondFailInstEPNS_12CondFailInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitCondFailInstEPNS_12CondFailInstE _ZN5swift9SILClonerINS_13GenericClonerEE17visitCondFailInstEPNS_12CondFailInstE Line | Count | Source | 3052 | 12.8k | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { | 3053 | 12.8k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3054 | 12.8k | recordClonedInstruction( | 3055 | 12.8k | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), | 3056 | 12.8k | getOpValue(Inst->getOperand()), | 3057 | 12.8k | Inst->getMessage())); | 3058 | 12.8k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitCondFailInstEPNS_12CondFailInstE Line | Count | Source | 3052 | 79.6k | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { | 3053 | 79.6k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3054 | 79.6k | recordClonedInstruction( | 3055 | 79.6k | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), | 3056 | 79.6k | getOpValue(Inst->getOperand()), | 3057 | 79.6k | Inst->getMessage())); | 3058 | 79.6k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitCondFailInstEPNS_12CondFailInstE Line | Count | Source | 3052 | 422 | SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) { | 3053 | 422 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3054 | 422 | recordClonedInstruction( | 3055 | 422 | Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()), | 3056 | 422 | getOpValue(Inst->getOperand()), | 3057 | 422 | Inst->getMessage())); | 3058 | 422 | } |
|
3059 | | |
3060 | | template <typename ImplClass> |
3061 | | void SILCloner<ImplClass>::visitIncrementProfilerCounterInst( |
3062 | 0 | IncrementProfilerCounterInst *Inst) { |
3063 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3064 | 0 | recordClonedInstruction(Inst, |
3065 | 0 | getBuilder().createIncrementProfilerCounter( |
3066 | 0 | getOpLocation(Inst->getLoc()), |
3067 | 0 | Inst->getCounterIndex(), Inst->getPGOFuncName(), |
3068 | 0 | Inst->getNumCounters(), Inst->getPGOFuncHash())); |
3069 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE |
3070 | | |
3071 | | template <typename ImplClass> |
3072 | | void SILCloner<ImplClass>::visitTestSpecificationInst( |
3073 | 0 | TestSpecificationInst *Inst) { |
3074 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3075 | 0 | recordClonedInstruction(Inst, getBuilder().createTestSpecificationInst( |
3076 | 0 | getOpLocation(Inst->getLoc()), |
3077 | 0 | Inst->getArgumentsSpecification())); |
3078 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE |
3079 | | |
3080 | | template<typename ImplClass> |
3081 | | void |
3082 | 37.8k | SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) { |
3083 | 37.8k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3084 | 37.8k | recordClonedInstruction( |
3085 | 37.8k | Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()), |
3086 | 37.8k | getOpValue(Inst->getBase()), |
3087 | 37.8k | getOpValue(Inst->getIndex()), |
3088 | 37.8k | Inst->needsStackProtection())); |
3089 | 37.8k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitIndexAddrInstEPNS_13IndexAddrInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitIndexAddrInstEPNS_13IndexAddrInstE Line | Count | Source | 3082 | 31 | SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) { | 3083 | 31 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3084 | 31 | recordClonedInstruction( | 3085 | 31 | Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()), | 3086 | 31 | getOpValue(Inst->getBase()), | 3087 | 31 | getOpValue(Inst->getIndex()), | 3088 | 31 | Inst->needsStackProtection())); | 3089 | 31 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Line | Count | Source | 3082 | 23 | SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) { | 3083 | 23 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3084 | 23 | recordClonedInstruction( | 3085 | 23 | Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()), | 3086 | 23 | getOpValue(Inst->getBase()), | 3087 | 23 | getOpValue(Inst->getIndex()), | 3088 | 23 | Inst->needsStackProtection())); | 3089 | 23 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Line | Count | Source | 3082 | 6 | SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) { | 3083 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3084 | 6 | recordClonedInstruction( | 3085 | 6 | Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()), | 3086 | 6 | getOpValue(Inst->getBase()), | 3087 | 6 | getOpValue(Inst->getIndex()), | 3088 | 6 | Inst->needsStackProtection())); | 3089 | 6 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Line | Count | Source | 3082 | 540 | SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) { | 3083 | 540 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3084 | 540 | recordClonedInstruction( | 3085 | 540 | Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()), | 3086 | 540 | getOpValue(Inst->getBase()), | 3087 | 540 | getOpValue(Inst->getIndex()), | 3088 | 540 | Inst->needsStackProtection())); | 3089 | 540 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitIndexAddrInstEPNS_13IndexAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Line | Count | Source | 3082 | 2.59k | SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) { | 3083 | 2.59k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3084 | 2.59k | recordClonedInstruction( | 3085 | 2.59k | Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()), | 3086 | 2.59k | getOpValue(Inst->getBase()), | 3087 | 2.59k | getOpValue(Inst->getIndex()), | 3088 | 2.59k | Inst->needsStackProtection())); | 3089 | 2.59k | } |
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitIndexAddrInstEPNS_13IndexAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitIndexAddrInstEPNS_13IndexAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Line | Count | Source | 3082 | 4.47k | SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) { | 3083 | 4.47k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3084 | 4.47k | recordClonedInstruction( | 3085 | 4.47k | Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()), | 3086 | 4.47k | getOpValue(Inst->getBase()), | 3087 | 4.47k | getOpValue(Inst->getIndex()), | 3088 | 4.47k | Inst->needsStackProtection())); | 3089 | 4.47k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Line | Count | Source | 3082 | 29.8k | SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) { | 3083 | 29.8k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3084 | 29.8k | recordClonedInstruction( | 3085 | 29.8k | Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()), | 3086 | 29.8k | getOpValue(Inst->getBase()), | 3087 | 29.8k | getOpValue(Inst->getIndex()), | 3088 | 29.8k | Inst->needsStackProtection())); | 3089 | 29.8k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE Line | Count | Source | 3082 | 294 | SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) { | 3083 | 294 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3084 | 294 | recordClonedInstruction( | 3085 | 294 | Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()), | 3086 | 294 | getOpValue(Inst->getBase()), | 3087 | 294 | getOpValue(Inst->getIndex()), | 3088 | 294 | Inst->needsStackProtection())); | 3089 | 294 | } |
|
3090 | | |
3091 | | template<typename ImplClass> |
3092 | | void |
3093 | 0 | SILCloner<ImplClass>::visitTailAddrInst(TailAddrInst *Inst) { |
3094 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3095 | 0 | recordClonedInstruction( |
3096 | 0 | Inst, getBuilder().createTailAddr( |
3097 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()), |
3098 | 0 | getOpValue(Inst->getIndex()), getOpType(Inst->getType()))); |
3099 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE17visitTailAddrInstEPNS_12TailAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitTailAddrInstEPNS_12TailAddrInstE |
3100 | | |
3101 | | template<typename ImplClass> |
3102 | | void |
3103 | 1.03k | SILCloner<ImplClass>::visitIndexRawPointerInst(IndexRawPointerInst *Inst) { |
3104 | 1.03k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3105 | 1.03k | recordClonedInstruction( |
3106 | 1.03k | Inst, getBuilder().createIndexRawPointer(getOpLocation(Inst->getLoc()), |
3107 | 1.03k | getOpValue(Inst->getBase()), |
3108 | 1.03k | getOpValue(Inst->getIndex()))); |
3109 | 1.03k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE _ZN5swift9SILClonerINS_13GenericClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Line | Count | Source | 3103 | 467 | SILCloner<ImplClass>::visitIndexRawPointerInst(IndexRawPointerInst *Inst) { | 3104 | 467 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3105 | 467 | recordClonedInstruction( | 3106 | 467 | Inst, getBuilder().createIndexRawPointer(getOpLocation(Inst->getLoc()), | 3107 | 467 | getOpValue(Inst->getBase()), | 3108 | 467 | getOpValue(Inst->getIndex()))); | 3109 | 467 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Line | Count | Source | 3103 | 547 | SILCloner<ImplClass>::visitIndexRawPointerInst(IndexRawPointerInst *Inst) { | 3104 | 547 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3105 | 547 | recordClonedInstruction( | 3106 | 547 | Inst, getBuilder().createIndexRawPointer(getOpLocation(Inst->getLoc()), | 3107 | 547 | getOpValue(Inst->getBase()), | 3108 | 547 | getOpValue(Inst->getIndex()))); | 3109 | 547 | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE Line | Count | Source | 3103 | 16 | SILCloner<ImplClass>::visitIndexRawPointerInst(IndexRawPointerInst *Inst) { | 3104 | 16 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3105 | 16 | recordClonedInstruction( | 3106 | 16 | Inst, getBuilder().createIndexRawPointer(getOpLocation(Inst->getLoc()), | 3107 | 16 | getOpValue(Inst->getBase()), | 3108 | 16 | getOpValue(Inst->getIndex()))); | 3109 | 16 | } |
|
3110 | | |
3111 | | template<typename ImplClass> |
3112 | | void |
3113 | 147k | SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) { |
3114 | 147k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3115 | 147k | recordClonedInstruction( |
3116 | 147k | Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc()))); |
3117 | 147k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitUnreachableInstEPNS_15UnreachableInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitUnreachableInstEPNS_15UnreachableInstE Line | Count | Source | 3113 | 16 | SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) { | 3114 | 16 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3115 | 16 | recordClonedInstruction( | 3116 | 16 | Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc()))); | 3117 | 16 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Line | Count | Source | 3113 | 154 | SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) { | 3114 | 154 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3115 | 154 | recordClonedInstruction( | 3116 | 154 | Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc()))); | 3117 | 154 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitUnreachableInstEPNS_15UnreachableInstE CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Line | Count | Source | 3113 | 9 | SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) { | 3114 | 9 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3115 | 9 | recordClonedInstruction( | 3116 | 9 | Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc()))); | 3117 | 9 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Line | Count | Source | 3113 | 1.54k | SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) { | 3114 | 1.54k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3115 | 1.54k | recordClonedInstruction( | 3116 | 1.54k | Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc()))); | 3117 | 1.54k | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitUnreachableInstEPNS_15UnreachableInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitUnreachableInstEPNS_15UnreachableInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Line | Count | Source | 3113 | 4 | SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) { | 3114 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3115 | 4 | recordClonedInstruction( | 3116 | 4 | Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc()))); | 3117 | 4 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitUnreachableInstEPNS_15UnreachableInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Line | Count | Source | 3113 | 5 | SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) { | 3114 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3115 | 5 | recordClonedInstruction( | 3116 | 5 | Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc()))); | 3117 | 5 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitUnreachableInstEPNS_15UnreachableInstE _ZN5swift9SILClonerINS_13GenericClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Line | Count | Source | 3113 | 36.6k | SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) { | 3114 | 36.6k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3115 | 36.6k | recordClonedInstruction( | 3116 | 36.6k | Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc()))); | 3117 | 36.6k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitUnreachableInstEPNS_15UnreachableInstE Line | Count | Source | 3113 | 109k | SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) { | 3114 | 109k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3115 | 109k | recordClonedInstruction( | 3116 | 109k | Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc()))); | 3117 | 109k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitUnreachableInstEPNS_15UnreachableInstE |
3118 | | |
3119 | | template<typename ImplClass> |
3120 | | void |
3121 | 22.3k | SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) { |
3122 | 22.3k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3123 | 22.3k | recordClonedInstruction( |
3124 | 22.3k | Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()), |
3125 | 22.3k | getOpValue(Inst->getOperand()))); |
3126 | 22.3k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitReturnInstEPNS_10ReturnInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitReturnInstEPNS_10ReturnInstE _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitReturnInstEPNS_10ReturnInstE Line | Count | Source | 3121 | 1 | SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) { | 3122 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3123 | 1 | recordClonedInstruction( | 3124 | 1 | Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()), | 3125 | 1 | getOpValue(Inst->getOperand()))); | 3126 | 1 | } |
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitReturnInstEPNS_10ReturnInstE Line | Count | Source | 3121 | 155 | SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) { | 3122 | 155 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3123 | 155 | recordClonedInstruction( | 3124 | 155 | Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()), | 3125 | 155 | getOpValue(Inst->getOperand()))); | 3126 | 155 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitReturnInstEPNS_10ReturnInstE CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitReturnInstEPNS_10ReturnInstE Line | Count | Source | 3121 | 128 | SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) { | 3122 | 128 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3123 | 128 | recordClonedInstruction( | 3124 | 128 | Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()), | 3125 | 128 | getOpValue(Inst->getOperand()))); | 3126 | 128 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitReturnInstEPNS_10ReturnInstE Line | Count | Source | 3121 | 257 | SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) { | 3122 | 257 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3123 | 257 | recordClonedInstruction( | 3124 | 257 | Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()), | 3125 | 257 | getOpValue(Inst->getOperand()))); | 3126 | 257 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitReturnInstEPNS_10ReturnInstE Line | Count | Source | 3121 | 32 | SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) { | 3122 | 32 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3123 | 32 | recordClonedInstruction( | 3124 | 32 | Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()), | 3125 | 32 | getOpValue(Inst->getOperand()))); | 3126 | 32 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitReturnInstEPNS_10ReturnInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitReturnInstEPNS_10ReturnInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitReturnInstEPNS_10ReturnInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitReturnInstEPNS_10ReturnInstE Line | Count | Source | 3121 | 8 | SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) { | 3122 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3123 | 8 | recordClonedInstruction( | 3124 | 8 | Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()), | 3125 | 8 | getOpValue(Inst->getOperand()))); | 3126 | 8 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitReturnInstEPNS_10ReturnInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitReturnInstEPNS_10ReturnInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitReturnInstEPNS_10ReturnInstE Line | Count | Source | 3121 | 5 | SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) { | 3122 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3123 | 5 | recordClonedInstruction( | 3124 | 5 | Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()), | 3125 | 5 | getOpValue(Inst->getOperand()))); | 3126 | 5 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitReturnInstEPNS_10ReturnInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitReturnInstEPNS_10ReturnInstE _ZN5swift9SILClonerINS_13GenericClonerEE15visitReturnInstEPNS_10ReturnInstE Line | Count | Source | 3121 | 21.7k | SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) { | 3122 | 21.7k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3123 | 21.7k | recordClonedInstruction( | 3124 | 21.7k | Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()), | 3125 | 21.7k | getOpValue(Inst->getOperand()))); | 3126 | 21.7k | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE15visitReturnInstEPNS_10ReturnInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitReturnInstEPNS_10ReturnInstE |
3127 | | |
3128 | | template<typename ImplClass> |
3129 | | void |
3130 | 1.46k | SILCloner<ImplClass>::visitThrowInst(ThrowInst *Inst) { |
3131 | 1.46k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3132 | 1.46k | recordClonedInstruction( |
3133 | 1.46k | Inst, getBuilder().createThrow(getOpLocation(Inst->getLoc()), |
3134 | 1.46k | getOpValue(Inst->getOperand()))); |
3135 | 1.46k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE14visitThrowInstEPNS_9ThrowInstE _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE14visitThrowInstEPNS_9ThrowInstE Line | Count | Source | 3130 | 1 | SILCloner<ImplClass>::visitThrowInst(ThrowInst *Inst) { | 3131 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3132 | 1 | recordClonedInstruction( | 3133 | 1 | Inst, getBuilder().createThrow(getOpLocation(Inst->getLoc()), | 3134 | 1 | getOpValue(Inst->getOperand()))); | 3135 | 1 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE14visitThrowInstEPNS_9ThrowInstE CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE14visitThrowInstEPNS_9ThrowInstE Line | Count | Source | 3130 | 3 | SILCloner<ImplClass>::visitThrowInst(ThrowInst *Inst) { | 3131 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3132 | 3 | recordClonedInstruction( | 3133 | 3 | Inst, getBuilder().createThrow(getOpLocation(Inst->getLoc()), | 3134 | 3 | getOpValue(Inst->getOperand()))); | 3135 | 3 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14visitThrowInstEPNS_9ThrowInstE Line | Count | Source | 3130 | 204 | SILCloner<ImplClass>::visitThrowInst(ThrowInst *Inst) { | 3131 | 204 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3132 | 204 | recordClonedInstruction( | 3133 | 204 | Inst, getBuilder().createThrow(getOpLocation(Inst->getLoc()), | 3134 | 204 | getOpValue(Inst->getOperand()))); | 3135 | 204 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14visitThrowInstEPNS_9ThrowInstE _ZN5swift9SILClonerINS_13GenericClonerEE14visitThrowInstEPNS_9ThrowInstE Line | Count | Source | 3130 | 1.25k | SILCloner<ImplClass>::visitThrowInst(ThrowInst *Inst) { | 3131 | 1.25k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3132 | 1.25k | recordClonedInstruction( | 3133 | 1.25k | Inst, getBuilder().createThrow(getOpLocation(Inst->getLoc()), | 3134 | 1.25k | getOpValue(Inst->getOperand()))); | 3135 | 1.25k | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE14visitThrowInstEPNS_9ThrowInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE14visitThrowInstEPNS_9ThrowInstE |
3136 | | |
3137 | | template<typename ImplClass> |
3138 | | void |
3139 | 0 | SILCloner<ImplClass>::visitThrowAddrInst(ThrowAddrInst *Inst) { |
3140 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3141 | 0 | recordClonedInstruction( |
3142 | 0 | Inst, getBuilder().createThrowAddr(getOpLocation(Inst->getLoc()))); |
3143 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitThrowAddrInstEPNS_13ThrowAddrInstE |
3144 | | |
3145 | | template<typename ImplClass> |
3146 | | void |
3147 | 734 | SILCloner<ImplClass>::visitUnwindInst(UnwindInst *Inst) { |
3148 | 734 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3149 | 734 | recordClonedInstruction( |
3150 | 734 | Inst, getBuilder().createUnwind(getOpLocation(Inst->getLoc()))); |
3151 | 734 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitUnwindInstEPNS_10UnwindInstE _ZN5swift9SILClonerINS_13GenericClonerEE15visitUnwindInstEPNS_10UnwindInstE Line | Count | Source | 3147 | 734 | SILCloner<ImplClass>::visitUnwindInst(UnwindInst *Inst) { | 3148 | 734 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3149 | 734 | recordClonedInstruction( | 3150 | 734 | Inst, getBuilder().createUnwind(getOpLocation(Inst->getLoc()))); | 3151 | 734 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE15visitUnwindInstEPNS_10UnwindInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitUnwindInstEPNS_10UnwindInstE |
3152 | | |
3153 | | template<typename ImplClass> |
3154 | | void |
3155 | 735 | SILCloner<ImplClass>::visitYieldInst(YieldInst *Inst) { |
3156 | 735 | auto Values = getOpValueArray<8>(Inst->getYieldedValues()); |
3157 | 735 | auto ResumeBB = getOpBasicBlock(Inst->getResumeBB()); |
3158 | 735 | auto UnwindBB = getOpBasicBlock(Inst->getUnwindBB()); |
3159 | | |
3160 | 735 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3161 | 735 | recordClonedInstruction( |
3162 | 735 | Inst, getBuilder().createYield(getOpLocation(Inst->getLoc()), Values, |
3163 | 735 | ResumeBB, UnwindBB)); |
3164 | 735 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14visitYieldInstEPNS_9YieldInstE _ZN5swift9SILClonerINS_13GenericClonerEE14visitYieldInstEPNS_9YieldInstE Line | Count | Source | 3155 | 735 | SILCloner<ImplClass>::visitYieldInst(YieldInst *Inst) { | 3156 | 735 | auto Values = getOpValueArray<8>(Inst->getYieldedValues()); | 3157 | 735 | auto ResumeBB = getOpBasicBlock(Inst->getResumeBB()); | 3158 | 735 | auto UnwindBB = getOpBasicBlock(Inst->getUnwindBB()); | 3159 | | | 3160 | 735 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3161 | 735 | recordClonedInstruction( | 3162 | 735 | Inst, getBuilder().createYield(getOpLocation(Inst->getLoc()), Values, | 3163 | 735 | ResumeBB, UnwindBB)); | 3164 | 735 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE14visitYieldInstEPNS_9YieldInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE14visitYieldInstEPNS_9YieldInstE |
3165 | | |
3166 | | template<typename ImplClass> |
3167 | | void |
3168 | 488k | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { |
3169 | 488k | auto Args = getOpValueArray<8>(Inst->getArgs()); |
3170 | 488k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3171 | 488k | recordClonedInstruction(Inst, getBuilder().createBranch( |
3172 | 488k | getOpLocation(Inst->getLoc()), |
3173 | 488k | getOpBasicBlock(Inst->getDestBB()), Args)); |
3174 | 488k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitBranchInstEPNS_10BranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitBranchInstEPNS_10BranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitBranchInstEPNS_10BranchInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 2.11k | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 2.11k | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 2.11k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 2.11k | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 2.11k | getOpLocation(Inst->getLoc()), | 3173 | 2.11k | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 2.11k | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 36.4k | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 36.4k | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 36.4k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 36.4k | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 36.4k | getOpLocation(Inst->getLoc()), | 3173 | 36.4k | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 36.4k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 22 | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 22 | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 22 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 22 | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 22 | getOpLocation(Inst->getLoc()), | 3173 | 22 | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 22 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 4.60k | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 4.60k | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 4.60k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 4.60k | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 4.60k | getOpLocation(Inst->getLoc()), | 3173 | 4.60k | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 4.60k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 12 | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 12 | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 12 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 12 | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 12 | getOpLocation(Inst->getLoc()), | 3173 | 12 | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 12 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitBranchInstEPNS_10BranchInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 58 | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 58 | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 58 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 58 | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 58 | getOpLocation(Inst->getLoc()), | 3173 | 58 | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 58 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 5.24k | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 5.24k | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 5.24k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 5.24k | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 5.24k | getOpLocation(Inst->getLoc()), | 3173 | 5.24k | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 5.24k | } |
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 16 | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 16 | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 16 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 16 | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 16 | getOpLocation(Inst->getLoc()), | 3173 | 16 | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 16 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitBranchInstEPNS_10BranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitBranchInstEPNS_10BranchInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 23 | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 23 | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 23 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 23 | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 23 | getOpLocation(Inst->getLoc()), | 3173 | 23 | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 23 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitBranchInstEPNS_10BranchInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitBranchInstEPNS_10BranchInstE _ZN5swift9SILClonerINS_13GenericClonerEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 148k | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 148k | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 148k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 148k | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 148k | getOpLocation(Inst->getLoc()), | 3173 | 148k | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 148k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE15visitBranchInstEPNS_10BranchInstE Line | Count | Source | 3168 | 291k | SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) { | 3169 | 291k | auto Args = getOpValueArray<8>(Inst->getArgs()); | 3170 | 291k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3171 | 291k | recordClonedInstruction(Inst, getBuilder().createBranch( | 3172 | 291k | getOpLocation(Inst->getLoc()), | 3173 | 291k | getOpBasicBlock(Inst->getDestBB()), Args)); | 3174 | 291k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitBranchInstEPNS_10BranchInstE |
3175 | | |
3176 | | template<typename ImplClass> |
3177 | | void |
3178 | 374k | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { |
3179 | 374k | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); |
3180 | 374k | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); |
3181 | 374k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3182 | 374k | recordClonedInstruction( |
3183 | 374k | Inst, getBuilder().createCondBranch( |
3184 | 374k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), |
3185 | 374k | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, |
3186 | 374k | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, |
3187 | 374k | Inst->getTrueBBCount(), Inst->getFalseBBCount())); |
3188 | 374k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitCondBranchInstEPNS_14CondBranchInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 972 | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 972 | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 972 | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 972 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 972 | recordClonedInstruction( | 3183 | 972 | Inst, getBuilder().createCondBranch( | 3184 | 972 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 972 | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 972 | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 972 | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 972 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 13.8k | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 13.8k | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 13.8k | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 13.8k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 13.8k | recordClonedInstruction( | 3183 | 13.8k | Inst, getBuilder().createCondBranch( | 3184 | 13.8k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 13.8k | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 13.8k | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 13.8k | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 13.8k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 20 | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 20 | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 20 | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 20 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 20 | recordClonedInstruction( | 3183 | 20 | Inst, getBuilder().createCondBranch( | 3184 | 20 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 20 | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 20 | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 20 | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 20 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 3.67k | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 3.67k | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 3.67k | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 3.67k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 3.67k | recordClonedInstruction( | 3183 | 3.67k | Inst, getBuilder().createCondBranch( | 3184 | 3.67k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 3.67k | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 3.67k | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 3.67k | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 3.67k | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 5 | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 5 | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 5 | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 5 | recordClonedInstruction( | 3183 | 5 | Inst, getBuilder().createCondBranch( | 3184 | 5 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 5 | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 5 | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 5 | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 5 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitCondBranchInstEPNS_14CondBranchInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 14 | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 14 | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 14 | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 14 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 14 | recordClonedInstruction( | 3183 | 14 | Inst, getBuilder().createCondBranch( | 3184 | 14 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 14 | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 14 | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 14 | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 14 | } |
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 2.62k | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 2.62k | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 2.62k | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 2.62k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 2.62k | recordClonedInstruction( | 3183 | 2.62k | Inst, getBuilder().createCondBranch( | 3184 | 2.62k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 2.62k | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 2.62k | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 2.62k | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 2.62k | } |
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitCondBranchInstEPNS_14CondBranchInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 10 | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 10 | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 10 | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 10 | recordClonedInstruction( | 3183 | 10 | Inst, getBuilder().createCondBranch( | 3184 | 10 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 10 | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 10 | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 10 | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 10 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitCondBranchInstEPNS_14CondBranchInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 107k | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 107k | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 107k | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 107k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 107k | recordClonedInstruction( | 3183 | 107k | Inst, getBuilder().createCondBranch( | 3184 | 107k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 107k | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 107k | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 107k | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 107k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 243k | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 243k | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 243k | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 243k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 243k | recordClonedInstruction( | 3183 | 243k | Inst, getBuilder().createCondBranch( | 3184 | 243k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 243k | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 243k | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 243k | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 243k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitCondBranchInstEPNS_14CondBranchInstE Line | Count | Source | 3178 | 1.20k | SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) { | 3179 | 1.20k | auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs()); | 3180 | 1.20k | auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs()); | 3181 | 1.20k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3182 | 1.20k | recordClonedInstruction( | 3183 | 1.20k | Inst, getBuilder().createCondBranch( | 3184 | 1.20k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()), | 3185 | 1.20k | getOpBasicBlock(Inst->getTrueBB()), TrueArgs, | 3186 | 1.20k | getOpBasicBlock(Inst->getFalseBB()), FalseArgs, | 3187 | 1.20k | Inst->getTrueBBCount(), Inst->getFalseBBCount())); | 3188 | 1.20k | } |
|
3189 | | |
3190 | | template<typename ImplClass> |
3191 | | void |
3192 | 4.81k | SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) { |
3193 | 4.81k | SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB()); |
3194 | 4.81k | SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB()); |
3195 | 4.81k | auto TrueCount = Inst->getTrueBBCount(); |
3196 | 4.81k | auto FalseCount = Inst->getFalseBBCount(); |
3197 | 4.81k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3198 | 4.81k | recordClonedInstruction( |
3199 | 4.81k | Inst, getBuilder().createCheckedCastBranch( |
3200 | 4.81k | getOpLocation(Inst->getLoc()), Inst->isExact(), |
3201 | 4.81k | getOpValue(Inst->getOperand()), |
3202 | 4.81k | getOpASTType(Inst->getSourceFormalType()), |
3203 | 4.81k | getOpType(Inst->getTargetLoweredType()), |
3204 | 4.81k | getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB, |
3205 | 4.81k | Inst->getForwardingOwnershipKind(), TrueCount, FalseCount)); |
3206 | 4.81k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Line | Count | Source | 3192 | 298 | SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) { | 3193 | 298 | SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB()); | 3194 | 298 | SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB()); | 3195 | 298 | auto TrueCount = Inst->getTrueBBCount(); | 3196 | 298 | auto FalseCount = Inst->getFalseBBCount(); | 3197 | 298 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3198 | 298 | recordClonedInstruction( | 3199 | 298 | Inst, getBuilder().createCheckedCastBranch( | 3200 | 298 | getOpLocation(Inst->getLoc()), Inst->isExact(), | 3201 | 298 | getOpValue(Inst->getOperand()), | 3202 | 298 | getOpASTType(Inst->getSourceFormalType()), | 3203 | 298 | getOpType(Inst->getTargetLoweredType()), | 3204 | 298 | getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB, | 3205 | 298 | Inst->getForwardingOwnershipKind(), TrueCount, FalseCount)); | 3206 | 298 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Line | Count | Source | 3192 | 5 | SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) { | 3193 | 5 | SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB()); | 3194 | 5 | SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB()); | 3195 | 5 | auto TrueCount = Inst->getTrueBBCount(); | 3196 | 5 | auto FalseCount = Inst->getFalseBBCount(); | 3197 | 5 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3198 | 5 | recordClonedInstruction( | 3199 | 5 | Inst, getBuilder().createCheckedCastBranch( | 3200 | 5 | getOpLocation(Inst->getLoc()), Inst->isExact(), | 3201 | 5 | getOpValue(Inst->getOperand()), | 3202 | 5 | getOpASTType(Inst->getSourceFormalType()), | 3203 | 5 | getOpType(Inst->getTargetLoweredType()), | 3204 | 5 | getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB, | 3205 | 5 | Inst->getForwardingOwnershipKind(), TrueCount, FalseCount)); | 3206 | 5 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Line | Count | Source | 3192 | 10 | SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) { | 3193 | 10 | SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB()); | 3194 | 10 | SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB()); | 3195 | 10 | auto TrueCount = Inst->getTrueBBCount(); | 3196 | 10 | auto FalseCount = Inst->getFalseBBCount(); | 3197 | 10 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3198 | 10 | recordClonedInstruction( | 3199 | 10 | Inst, getBuilder().createCheckedCastBranch( | 3200 | 10 | getOpLocation(Inst->getLoc()), Inst->isExact(), | 3201 | 10 | getOpValue(Inst->getOperand()), | 3202 | 10 | getOpASTType(Inst->getSourceFormalType()), | 3203 | 10 | getOpType(Inst->getTargetLoweredType()), | 3204 | 10 | getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB, | 3205 | 10 | Inst->getForwardingOwnershipKind(), TrueCount, FalseCount)); | 3206 | 10 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Line | Count | Source | 3192 | 1 | SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) { | 3193 | 1 | SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB()); | 3194 | 1 | SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB()); | 3195 | 1 | auto TrueCount = Inst->getTrueBBCount(); | 3196 | 1 | auto FalseCount = Inst->getFalseBBCount(); | 3197 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3198 | 1 | recordClonedInstruction( | 3199 | 1 | Inst, getBuilder().createCheckedCastBranch( | 3200 | 1 | getOpLocation(Inst->getLoc()), Inst->isExact(), | 3201 | 1 | getOpValue(Inst->getOperand()), | 3202 | 1 | getOpASTType(Inst->getSourceFormalType()), | 3203 | 1 | getOpType(Inst->getTargetLoweredType()), | 3204 | 1 | getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB, | 3205 | 1 | Inst->getForwardingOwnershipKind(), TrueCount, FalseCount)); | 3206 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Line | Count | Source | 3192 | 8 | SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) { | 3193 | 8 | SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB()); | 3194 | 8 | SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB()); | 3195 | 8 | auto TrueCount = Inst->getTrueBBCount(); | 3196 | 8 | auto FalseCount = Inst->getFalseBBCount(); | 3197 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3198 | 8 | recordClonedInstruction( | 3199 | 8 | Inst, getBuilder().createCheckedCastBranch( | 3200 | 8 | getOpLocation(Inst->getLoc()), Inst->isExact(), | 3201 | 8 | getOpValue(Inst->getOperand()), | 3202 | 8 | getOpASTType(Inst->getSourceFormalType()), | 3203 | 8 | getOpType(Inst->getTargetLoweredType()), | 3204 | 8 | getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB, | 3205 | 8 | Inst->getForwardingOwnershipKind(), TrueCount, FalseCount)); | 3206 | 8 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE _ZN5swift9SILClonerINS_13GenericClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Line | Count | Source | 3192 | 3.76k | SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) { | 3193 | 3.76k | SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB()); | 3194 | 3.76k | SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB()); | 3195 | 3.76k | auto TrueCount = Inst->getTrueBBCount(); | 3196 | 3.76k | auto FalseCount = Inst->getFalseBBCount(); | 3197 | 3.76k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3198 | 3.76k | recordClonedInstruction( | 3199 | 3.76k | Inst, getBuilder().createCheckedCastBranch( | 3200 | 3.76k | getOpLocation(Inst->getLoc()), Inst->isExact(), | 3201 | 3.76k | getOpValue(Inst->getOperand()), | 3202 | 3.76k | getOpASTType(Inst->getSourceFormalType()), | 3203 | 3.76k | getOpType(Inst->getTargetLoweredType()), | 3204 | 3.76k | getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB, | 3205 | 3.76k | Inst->getForwardingOwnershipKind(), TrueCount, FalseCount)); | 3206 | 3.76k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE Line | Count | Source | 3192 | 735 | SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) { | 3193 | 735 | SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB()); | 3194 | 735 | SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB()); | 3195 | 735 | auto TrueCount = Inst->getTrueBBCount(); | 3196 | 735 | auto FalseCount = Inst->getFalseBBCount(); | 3197 | 735 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3198 | 735 | recordClonedInstruction( | 3199 | 735 | Inst, getBuilder().createCheckedCastBranch( | 3200 | 735 | getOpLocation(Inst->getLoc()), Inst->isExact(), | 3201 | 735 | getOpValue(Inst->getOperand()), | 3202 | 735 | getOpASTType(Inst->getSourceFormalType()), | 3203 | 735 | getOpType(Inst->getTargetLoweredType()), | 3204 | 735 | getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB, | 3205 | 735 | Inst->getForwardingOwnershipKind(), TrueCount, FalseCount)); | 3206 | 735 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE |
3207 | | |
3208 | | template<typename ImplClass> |
3209 | | void SILCloner<ImplClass>::visitCheckedCastAddrBranchInst( |
3210 | 1 | CheckedCastAddrBranchInst *Inst) { |
3211 | 1 | SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB()); |
3212 | 1 | SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB()); |
3213 | 1 | SILValue SrcValue = getOpValue(Inst->getSrc()); |
3214 | 1 | SILValue DestValue = getOpValue(Inst->getDest()); |
3215 | 1 | CanType SrcType = getOpASTType(Inst->getSourceFormalType()); |
3216 | 1 | CanType TargetType = getOpASTType(Inst->getTargetFormalType()); |
3217 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3218 | 1 | auto TrueCount = Inst->getTrueBBCount(); |
3219 | 1 | auto FalseCount = Inst->getFalseBBCount(); |
3220 | 1 | recordClonedInstruction(Inst, getBuilder().createCheckedCastAddrBranch( |
3221 | 1 | getOpLocation(Inst->getLoc()), |
3222 | 1 | Inst->getConsumptionKind(), SrcValue, |
3223 | 1 | SrcType, DestValue, TargetType, OpSuccBB, |
3224 | 1 | OpFailBB, TrueCount, FalseCount)); |
3225 | 1 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Line | Count | Source | 3210 | 1 | CheckedCastAddrBranchInst *Inst) { | 3211 | 1 | SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB()); | 3212 | 1 | SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB()); | 3213 | 1 | SILValue SrcValue = getOpValue(Inst->getSrc()); | 3214 | 1 | SILValue DestValue = getOpValue(Inst->getDest()); | 3215 | 1 | CanType SrcType = getOpASTType(Inst->getSourceFormalType()); | 3216 | 1 | CanType TargetType = getOpASTType(Inst->getTargetFormalType()); | 3217 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3218 | 1 | auto TrueCount = Inst->getTrueBBCount(); | 3219 | 1 | auto FalseCount = Inst->getFalseBBCount(); | 3220 | 1 | recordClonedInstruction(Inst, getBuilder().createCheckedCastAddrBranch( | 3221 | 1 | getOpLocation(Inst->getLoc()), | 3222 | 1 | Inst->getConsumptionKind(), SrcValue, | 3223 | 1 | SrcType, DestValue, TargetType, OpSuccBB, | 3224 | 1 | OpFailBB, TrueCount, FalseCount)); | 3225 | 1 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE |
3226 | | |
3227 | | template<typename ImplClass> |
3228 | | void |
3229 | 4 | SILCloner<ImplClass>::visitSwitchValueInst(SwitchValueInst *Inst) { |
3230 | 4 | SILBasicBlock *DefaultBB = nullptr; |
3231 | 4 | if (Inst->hasDefault()) |
3232 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); |
3233 | 4 | SmallVector<std::pair<SILValue, SILBasicBlock*>, 8> CaseBBs; |
3234 | 12 | for (int i = 0, e = Inst->getNumCases(); i != e; ++i) |
3235 | 8 | CaseBBs.push_back(std::make_pair(getOpValue(Inst->getCase(i).first), |
3236 | 8 | getOpBasicBlock(Inst->getCase(i).second))); |
3237 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3238 | 4 | recordClonedInstruction( |
3239 | 4 | Inst, getBuilder().createSwitchValue(getOpLocation(Inst->getLoc()), |
3240 | 4 | getOpValue(Inst->getOperand()), |
3241 | 4 | DefaultBB, CaseBBs)); |
3242 | 4 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Line | Count | Source | 3229 | 4 | SILCloner<ImplClass>::visitSwitchValueInst(SwitchValueInst *Inst) { | 3230 | 4 | SILBasicBlock *DefaultBB = nullptr; | 3231 | 4 | if (Inst->hasDefault()) | 3232 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3233 | 4 | SmallVector<std::pair<SILValue, SILBasicBlock*>, 8> CaseBBs; | 3234 | 12 | for (int i = 0, e = Inst->getNumCases(); i != e; ++i) | 3235 | 8 | CaseBBs.push_back(std::make_pair(getOpValue(Inst->getCase(i).first), | 3236 | 8 | getOpBasicBlock(Inst->getCase(i).second))); | 3237 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3238 | 4 | recordClonedInstruction( | 3239 | 4 | Inst, getBuilder().createSwitchValue(getOpLocation(Inst->getLoc()), | 3240 | 4 | getOpValue(Inst->getOperand()), | 3241 | 4 | DefaultBB, CaseBBs)); | 3242 | 4 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE |
3243 | | |
3244 | | template<typename ImplClass> |
3245 | | void |
3246 | 17.2k | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { |
3247 | 17.2k | SILBasicBlock *DefaultBB = nullptr; |
3248 | 17.2k | if (Inst->hasDefault()) |
3249 | 237 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); |
3250 | 17.2k | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; |
3251 | 65.9k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) |
3252 | 48.7k | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, |
3253 | 48.7k | getOpBasicBlock(Inst->getCase(i).second))); |
3254 | 17.2k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3255 | 17.2k | recordClonedInstruction( |
3256 | 17.2k | Inst, getBuilder().createSwitchEnum( |
3257 | 17.2k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
3258 | 17.2k | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), |
3259 | 17.2k | getBuilder().hasOwnership() |
3260 | 17.2k | ? Inst->getForwardingOwnershipKind() |
3261 | 17.2k | : ValueOwnershipKind(OwnershipKind::None))); |
3262 | 17.2k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Line | Count | Source | 3246 | 312 | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { | 3247 | 312 | SILBasicBlock *DefaultBB = nullptr; | 3248 | 312 | if (Inst->hasDefault()) | 3249 | 3 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3250 | 312 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3251 | 988 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3252 | 676 | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3253 | 676 | getOpBasicBlock(Inst->getCase(i).second))); | 3254 | 312 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3255 | 312 | recordClonedInstruction( | 3256 | 312 | Inst, getBuilder().createSwitchEnum( | 3257 | 312 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 3258 | 312 | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), | 3259 | 312 | getBuilder().hasOwnership() | 3260 | 312 | ? Inst->getForwardingOwnershipKind() | 3261 | 312 | : ValueOwnershipKind(OwnershipKind::None))); | 3262 | 312 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Line | Count | Source | 3246 | 3.84k | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { | 3247 | 3.84k | SILBasicBlock *DefaultBB = nullptr; | 3248 | 3.84k | if (Inst->hasDefault()) | 3249 | 2 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3250 | 3.84k | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3251 | 11.9k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3252 | 8.13k | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3253 | 8.13k | getOpBasicBlock(Inst->getCase(i).second))); | 3254 | 3.84k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3255 | 3.84k | recordClonedInstruction( | 3256 | 3.84k | Inst, getBuilder().createSwitchEnum( | 3257 | 3.84k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 3258 | 3.84k | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), | 3259 | 3.84k | getBuilder().hasOwnership() | 3260 | 3.84k | ? Inst->getForwardingOwnershipKind() | 3261 | 3.84k | : ValueOwnershipKind(OwnershipKind::None))); | 3262 | 3.84k | } |
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Line | Count | Source | 3246 | 1 | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { | 3247 | 1 | SILBasicBlock *DefaultBB = nullptr; | 3248 | 1 | if (Inst->hasDefault()) | 3249 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3250 | 1 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3251 | 3 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3252 | 2 | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3253 | 2 | getOpBasicBlock(Inst->getCase(i).second))); | 3254 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3255 | 1 | recordClonedInstruction( | 3256 | 1 | Inst, getBuilder().createSwitchEnum( | 3257 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 3258 | 1 | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), | 3259 | 1 | getBuilder().hasOwnership() | 3260 | 1 | ? Inst->getForwardingOwnershipKind() | 3261 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 3262 | 1 | } |
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Line | Count | Source | 3246 | 350 | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { | 3247 | 350 | SILBasicBlock *DefaultBB = nullptr; | 3248 | 350 | if (Inst->hasDefault()) | 3249 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3250 | 350 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3251 | 1.05k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3252 | 700 | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3253 | 700 | getOpBasicBlock(Inst->getCase(i).second))); | 3254 | 350 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3255 | 350 | recordClonedInstruction( | 3256 | 350 | Inst, getBuilder().createSwitchEnum( | 3257 | 350 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 3258 | 350 | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), | 3259 | 350 | getBuilder().hasOwnership() | 3260 | 350 | ? Inst->getForwardingOwnershipKind() | 3261 | 350 | : ValueOwnershipKind(OwnershipKind::None))); | 3262 | 350 | } |
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Line | Count | Source | 3246 | 1 | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { | 3247 | 1 | SILBasicBlock *DefaultBB = nullptr; | 3248 | 1 | if (Inst->hasDefault()) | 3249 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3250 | 1 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3251 | 3 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3252 | 2 | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3253 | 2 | getOpBasicBlock(Inst->getCase(i).second))); | 3254 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3255 | 1 | recordClonedInstruction( | 3256 | 1 | Inst, getBuilder().createSwitchEnum( | 3257 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 3258 | 1 | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), | 3259 | 1 | getBuilder().hasOwnership() | 3260 | 1 | ? Inst->getForwardingOwnershipKind() | 3261 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 3262 | 1 | } |
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Line | Count | Source | 3246 | 6 | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { | 3247 | 6 | SILBasicBlock *DefaultBB = nullptr; | 3248 | 6 | if (Inst->hasDefault()) | 3249 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3250 | 6 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3251 | 18 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3252 | 12 | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3253 | 12 | getOpBasicBlock(Inst->getCase(i).second))); | 3254 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3255 | 6 | recordClonedInstruction( | 3256 | 6 | Inst, getBuilder().createSwitchEnum( | 3257 | 6 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 3258 | 6 | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), | 3259 | 6 | getBuilder().hasOwnership() | 3260 | 6 | ? Inst->getForwardingOwnershipKind() | 3261 | 6 | : ValueOwnershipKind(OwnershipKind::None))); | 3262 | 6 | } |
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Line | Count | Source | 3246 | 4 | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { | 3247 | 4 | SILBasicBlock *DefaultBB = nullptr; | 3248 | 4 | if (Inst->hasDefault()) | 3249 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3250 | 4 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3251 | 12 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3252 | 8 | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3253 | 8 | getOpBasicBlock(Inst->getCase(i).second))); | 3254 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3255 | 4 | recordClonedInstruction( | 3256 | 4 | Inst, getBuilder().createSwitchEnum( | 3257 | 4 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 3258 | 4 | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), | 3259 | 4 | getBuilder().hasOwnership() | 3260 | 4 | ? Inst->getForwardingOwnershipKind() | 3261 | 4 | : ValueOwnershipKind(OwnershipKind::None))); | 3262 | 4 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Line | Count | Source | 3246 | 1 | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { | 3247 | 1 | SILBasicBlock *DefaultBB = nullptr; | 3248 | 1 | if (Inst->hasDefault()) | 3249 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3250 | 1 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3251 | 3 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3252 | 2 | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3253 | 2 | getOpBasicBlock(Inst->getCase(i).second))); | 3254 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3255 | 1 | recordClonedInstruction( | 3256 | 1 | Inst, getBuilder().createSwitchEnum( | 3257 | 1 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 3258 | 1 | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), | 3259 | 1 | getBuilder().hasOwnership() | 3260 | 1 | ? Inst->getForwardingOwnershipKind() | 3261 | 1 | : ValueOwnershipKind(OwnershipKind::None))); | 3262 | 1 | } |
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Line | Count | Source | 3246 | 4.24k | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { | 3247 | 4.24k | SILBasicBlock *DefaultBB = nullptr; | 3248 | 4.24k | if (Inst->hasDefault()) | 3249 | 37 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3250 | 4.24k | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3251 | 13.0k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3252 | 8.77k | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3253 | 8.77k | getOpBasicBlock(Inst->getCase(i).second))); | 3254 | 4.24k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3255 | 4.24k | recordClonedInstruction( | 3256 | 4.24k | Inst, getBuilder().createSwitchEnum( | 3257 | 4.24k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 3258 | 4.24k | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), | 3259 | 4.24k | getBuilder().hasOwnership() | 3260 | 4.24k | ? Inst->getForwardingOwnershipKind() | 3261 | 4.24k | : ValueOwnershipKind(OwnershipKind::None))); | 3262 | 4.24k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE Line | Count | Source | 3246 | 8.47k | SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) { | 3247 | 8.47k | SILBasicBlock *DefaultBB = nullptr; | 3248 | 8.47k | if (Inst->hasDefault()) | 3249 | 195 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3250 | 8.47k | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3251 | 38.8k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3252 | 30.4k | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3253 | 30.4k | getOpBasicBlock(Inst->getCase(i).second))); | 3254 | 8.47k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3255 | 8.47k | recordClonedInstruction( | 3256 | 8.47k | Inst, getBuilder().createSwitchEnum( | 3257 | 8.47k | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), | 3258 | 8.47k | DefaultBB, CaseBBs, llvm::None, ProfileCounter(), | 3259 | 8.47k | getBuilder().hasOwnership() | 3260 | 8.47k | ? Inst->getForwardingOwnershipKind() | 3261 | 8.47k | : ValueOwnershipKind(OwnershipKind::None))); | 3262 | 8.47k | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE |
3263 | | |
3264 | | template<typename ImplClass> |
3265 | | void |
3266 | | SILCloner<ImplClass>:: |
3267 | 3.17k | visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) { |
3268 | 3.17k | SILBasicBlock *DefaultBB = nullptr; |
3269 | 3.17k | if (Inst->hasDefault()) |
3270 | 83 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); |
3271 | 3.17k | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; |
3272 | 9.70k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) |
3273 | 6.52k | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, |
3274 | 6.52k | getOpBasicBlock(Inst->getCase(i).second))); |
3275 | 3.17k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3276 | 3.17k | recordClonedInstruction( |
3277 | 3.17k | Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()), |
3278 | 3.17k | getOpValue(Inst->getOperand()), |
3279 | 3.17k | DefaultBB, CaseBBs)); |
3280 | 3.17k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Line | Count | Source | 3267 | 121 | visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) { | 3268 | 121 | SILBasicBlock *DefaultBB = nullptr; | 3269 | 121 | if (Inst->hasDefault()) | 3270 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3271 | 121 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3272 | 363 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3273 | 242 | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3274 | 242 | getOpBasicBlock(Inst->getCase(i).second))); | 3275 | 121 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3276 | 121 | recordClonedInstruction( | 3277 | 121 | Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()), | 3278 | 121 | getOpValue(Inst->getOperand()), | 3279 | 121 | DefaultBB, CaseBBs)); | 3280 | 121 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Line | Count | Source | 3267 | 6 | visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) { | 3268 | 6 | SILBasicBlock *DefaultBB = nullptr; | 3269 | 6 | if (Inst->hasDefault()) | 3270 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3271 | 6 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3272 | 18 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3273 | 12 | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3274 | 12 | getOpBasicBlock(Inst->getCase(i).second))); | 3275 | 6 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3276 | 6 | recordClonedInstruction( | 3277 | 6 | Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()), | 3278 | 6 | getOpValue(Inst->getOperand()), | 3279 | 6 | DefaultBB, CaseBBs)); | 3280 | 6 | } |
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Line | Count | Source | 3267 | 2 | visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) { | 3268 | 2 | SILBasicBlock *DefaultBB = nullptr; | 3269 | 2 | if (Inst->hasDefault()) | 3270 | 0 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3271 | 2 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3272 | 6 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3273 | 4 | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3274 | 4 | getOpBasicBlock(Inst->getCase(i).second))); | 3275 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3276 | 2 | recordClonedInstruction( | 3277 | 2 | Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()), | 3278 | 2 | getOpValue(Inst->getOperand()), | 3279 | 2 | DefaultBB, CaseBBs)); | 3280 | 2 | } |
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Line | Count | Source | 3267 | 2.12k | visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) { | 3268 | 2.12k | SILBasicBlock *DefaultBB = nullptr; | 3269 | 2.12k | if (Inst->hasDefault()) | 3270 | 3 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3271 | 2.12k | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3272 | 6.36k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3273 | 4.24k | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3274 | 4.24k | getOpBasicBlock(Inst->getCase(i).second))); | 3275 | 2.12k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3276 | 2.12k | recordClonedInstruction( | 3277 | 2.12k | Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()), | 3278 | 2.12k | getOpValue(Inst->getOperand()), | 3279 | 2.12k | DefaultBB, CaseBBs)); | 3280 | 2.12k | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE Line | Count | Source | 3267 | 927 | visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) { | 3268 | 927 | SILBasicBlock *DefaultBB = nullptr; | 3269 | 927 | if (Inst->hasDefault()) | 3270 | 80 | DefaultBB = getOpBasicBlock(Inst->getDefaultBB()); | 3271 | 927 | SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs; | 3272 | 2.95k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3273 | 2.02k | CaseBBs.push_back(std::make_pair(Inst->getCase(i).first, | 3274 | 2.02k | getOpBasicBlock(Inst->getCase(i).second))); | 3275 | 927 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3276 | 927 | recordClonedInstruction( | 3277 | 927 | Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()), | 3278 | 927 | getOpValue(Inst->getOperand()), | 3279 | 927 | DefaultBB, CaseBBs)); | 3280 | 927 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE |
3281 | | |
3282 | | |
3283 | | |
3284 | | template<typename ImplClass> |
3285 | | void |
3286 | 3.90k | SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) { |
3287 | 3.90k | SILValue DefaultResult; |
3288 | 3.90k | if (Inst->hasDefault()) |
3289 | 225 | DefaultResult = getOpValue(Inst->getDefaultResult()); |
3290 | 3.90k | SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults; |
3291 | 39.4k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) |
3292 | 35.5k | CaseResults.push_back(std::make_pair(Inst->getCase(i).first, |
3293 | 35.5k | getOpValue(Inst->getCase(i).second))); |
3294 | | |
3295 | 3.90k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3296 | 3.90k | recordClonedInstruction( |
3297 | 3.90k | Inst, getBuilder().createSelectEnum( |
3298 | 3.90k | getOpLocation(Inst->getLoc()), |
3299 | 3.90k | getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()), |
3300 | 3.90k | DefaultResult, CaseResults, llvm::None, ProfileCounter())); |
3301 | 3.90k | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitSelectEnumInstEPNS_14SelectEnumInstE ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Line | Count | Source | 3286 | 92 | SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) { | 3287 | 92 | SILValue DefaultResult; | 3288 | 92 | if (Inst->hasDefault()) | 3289 | 0 | DefaultResult = getOpValue(Inst->getDefaultResult()); | 3290 | 92 | SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults; | 3291 | 306 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3292 | 214 | CaseResults.push_back(std::make_pair(Inst->getCase(i).first, | 3293 | 214 | getOpValue(Inst->getCase(i).second))); | 3294 | | | 3295 | 92 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3296 | 92 | recordClonedInstruction( | 3297 | 92 | Inst, getBuilder().createSelectEnum( | 3298 | 92 | getOpLocation(Inst->getLoc()), | 3299 | 92 | getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()), | 3300 | 92 | DefaultResult, CaseResults, llvm::None, ProfileCounter())); | 3301 | 92 | } |
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Line | Count | Source | 3286 | 1.33k | SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) { | 3287 | 1.33k | SILValue DefaultResult; | 3288 | 1.33k | if (Inst->hasDefault()) | 3289 | 5 | DefaultResult = getOpValue(Inst->getDefaultResult()); | 3290 | 1.33k | SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults; | 3291 | 4.09k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3292 | 2.76k | CaseResults.push_back(std::make_pair(Inst->getCase(i).first, | 3293 | 2.76k | getOpValue(Inst->getCase(i).second))); | 3294 | | | 3295 | 1.33k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3296 | 1.33k | recordClonedInstruction( | 3297 | 1.33k | Inst, getBuilder().createSelectEnum( | 3298 | 1.33k | getOpLocation(Inst->getLoc()), | 3299 | 1.33k | getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()), | 3300 | 1.33k | DefaultResult, CaseResults, llvm::None, ProfileCounter())); | 3301 | 1.33k | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitSelectEnumInstEPNS_14SelectEnumInstE _ZN5swift9SILClonerINS_13GenericClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Line | Count | Source | 3286 | 860 | SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) { | 3287 | 860 | SILValue DefaultResult; | 3288 | 860 | if (Inst->hasDefault()) | 3289 | 14 | DefaultResult = getOpValue(Inst->getDefaultResult()); | 3290 | 860 | SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults; | 3291 | 2.77k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3292 | 1.91k | CaseResults.push_back(std::make_pair(Inst->getCase(i).first, | 3293 | 1.91k | getOpValue(Inst->getCase(i).second))); | 3294 | | | 3295 | 860 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3296 | 860 | recordClonedInstruction( | 3297 | 860 | Inst, getBuilder().createSelectEnum( | 3298 | 860 | getOpLocation(Inst->getLoc()), | 3299 | 860 | getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()), | 3300 | 860 | DefaultResult, CaseResults, llvm::None, ProfileCounter())); | 3301 | 860 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Line | Count | Source | 3286 | 1.61k | SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) { | 3287 | 1.61k | SILValue DefaultResult; | 3288 | 1.61k | if (Inst->hasDefault()) | 3289 | 206 | DefaultResult = getOpValue(Inst->getDefaultResult()); | 3290 | 1.61k | SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults; | 3291 | 32.2k | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3292 | 30.6k | CaseResults.push_back(std::make_pair(Inst->getCase(i).first, | 3293 | 30.6k | getOpValue(Inst->getCase(i).second))); | 3294 | | | 3295 | 1.61k | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3296 | 1.61k | recordClonedInstruction( | 3297 | 1.61k | Inst, getBuilder().createSelectEnum( | 3298 | 1.61k | getOpLocation(Inst->getLoc()), | 3299 | 1.61k | getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()), | 3300 | 1.61k | DefaultResult, CaseResults, llvm::None, ProfileCounter())); | 3301 | 1.61k | } |
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE Line | Count | Source | 3286 | 1 | SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) { | 3287 | 1 | SILValue DefaultResult; | 3288 | 1 | if (Inst->hasDefault()) | 3289 | 0 | DefaultResult = getOpValue(Inst->getDefaultResult()); | 3290 | 1 | SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults; | 3291 | 10 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3292 | 9 | CaseResults.push_back(std::make_pair(Inst->getCase(i).first, | 3293 | 9 | getOpValue(Inst->getCase(i).second))); | 3294 | | | 3295 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3296 | 1 | recordClonedInstruction( | 3297 | 1 | Inst, getBuilder().createSelectEnum( | 3298 | 1 | getOpLocation(Inst->getLoc()), | 3299 | 1 | getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()), | 3300 | 1 | DefaultResult, CaseResults, llvm::None, ProfileCounter())); | 3301 | 1 | } |
|
3302 | | |
3303 | | template<typename ImplClass> |
3304 | | void |
3305 | 3 | SILCloner<ImplClass>::visitSelectEnumAddrInst(SelectEnumAddrInst *Inst) { |
3306 | 3 | SILValue DefaultResult; |
3307 | 3 | if (Inst->hasDefault()) |
3308 | 0 | DefaultResult = getOpValue(Inst->getDefaultResult()); |
3309 | 3 | SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults; |
3310 | 9 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) |
3311 | 6 | CaseResults.push_back(std::make_pair(Inst->getCase(i).first, |
3312 | 6 | getOpValue(Inst->getCase(i).second))); |
3313 | | |
3314 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3315 | 3 | recordClonedInstruction(Inst, getBuilder().createSelectEnumAddr( |
3316 | 3 | getOpLocation(Inst->getLoc()), |
3317 | 3 | getOpValue(Inst->getEnumOperand()), |
3318 | 3 | getOpType(Inst->getType()), DefaultResult, |
3319 | 3 | CaseResults)); |
3320 | 3 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Line | Count | Source | 3305 | 3 | SILCloner<ImplClass>::visitSelectEnumAddrInst(SelectEnumAddrInst *Inst) { | 3306 | 3 | SILValue DefaultResult; | 3307 | 3 | if (Inst->hasDefault()) | 3308 | 0 | DefaultResult = getOpValue(Inst->getDefaultResult()); | 3309 | 3 | SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults; | 3310 | 9 | for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i) | 3311 | 6 | CaseResults.push_back(std::make_pair(Inst->getCase(i).first, | 3312 | 6 | getOpValue(Inst->getCase(i).second))); | 3313 | | | 3314 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3315 | 3 | recordClonedInstruction(Inst, getBuilder().createSelectEnumAddr( | 3316 | 3 | getOpLocation(Inst->getLoc()), | 3317 | 3 | getOpValue(Inst->getEnumOperand()), | 3318 | 3 | getOpType(Inst->getType()), DefaultResult, | 3319 | 3 | CaseResults)); | 3320 | 3 | } |
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE |
3321 | | |
3322 | | template <typename ImplClass> |
3323 | | void SILCloner<ImplClass>::visitDynamicMethodBranchInst( |
3324 | 0 | DynamicMethodBranchInst *Inst) { |
3325 | 0 | SILBasicBlock *OpHasMethodBB = getOpBasicBlock(Inst->getHasMethodBB()); |
3326 | 0 | SILBasicBlock *OpHasNoMethodBB = getOpBasicBlock(Inst->getNoMethodBB()); |
3327 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3328 | 0 | recordClonedInstruction( |
3329 | 0 | Inst, getBuilder().createDynamicMethodBranch( |
3330 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
3331 | 0 | Inst->getMember(), OpHasMethodBB, OpHasNoMethodBB)); |
3332 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE |
3333 | | |
3334 | | template <typename ImplClass> |
3335 | | void SILCloner<ImplClass>::visitProjectBlockStorageInst( |
3336 | 7 | ProjectBlockStorageInst *Inst) { |
3337 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3338 | 7 | recordClonedInstruction(Inst, getBuilder().createProjectBlockStorage( |
3339 | 7 | getOpLocation(Inst->getLoc()), |
3340 | 7 | getOpValue(Inst->getOperand()), |
3341 | 7 | getOpType(Inst->getType()))); |
3342 | 7 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE Line | Count | Source | 3336 | 7 | ProjectBlockStorageInst *Inst) { | 3337 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3338 | 7 | recordClonedInstruction(Inst, getBuilder().createProjectBlockStorage( | 3339 | 7 | getOpLocation(Inst->getLoc()), | 3340 | 7 | getOpValue(Inst->getOperand()), | 3341 | 7 | getOpType(Inst->getType()))); | 3342 | 7 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE |
3343 | | |
3344 | | template <typename ImplClass> |
3345 | | void SILCloner<ImplClass>::visitInitBlockStorageHeaderInst( |
3346 | 7 | InitBlockStorageHeaderInst *Inst) { |
3347 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3348 | 7 | recordClonedInstruction( |
3349 | 7 | Inst, |
3350 | 7 | getBuilder().createInitBlockStorageHeader( |
3351 | 7 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBlockStorage()), |
3352 | 7 | getOpValue(Inst->getInvokeFunction()), getOpType(Inst->getType()), |
3353 | 7 | getOpSubstitutionMap(Inst->getSubstitutions()))); |
3354 | 7 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE Line | Count | Source | 3346 | 7 | InitBlockStorageHeaderInst *Inst) { | 3347 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3348 | 7 | recordClonedInstruction( | 3349 | 7 | Inst, | 3350 | 7 | getBuilder().createInitBlockStorageHeader( | 3351 | 7 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getBlockStorage()), | 3352 | 7 | getOpValue(Inst->getInvokeFunction()), getOpType(Inst->getType()), | 3353 | 7 | getOpSubstitutionMap(Inst->getSubstitutions()))); | 3354 | 7 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE |
3355 | | |
3356 | | template <typename ImplClass> |
3357 | | void SILCloner<ImplClass>::visitObjCMetatypeToObjectInst( |
3358 | 0 | ObjCMetatypeToObjectInst *Inst) { |
3359 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3360 | 0 | recordClonedInstruction(Inst, getBuilder().createObjCMetatypeToObject( |
3361 | 0 | getOpLocation(Inst->getLoc()), |
3362 | 0 | getOpValue(Inst->getOperand()), |
3363 | 0 | getOpType(Inst->getType()))); |
3364 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE |
3365 | | |
3366 | | template <typename ImplClass> |
3367 | | void SILCloner<ImplClass>::visitObjCExistentialMetatypeToObjectInst( |
3368 | 0 | ObjCExistentialMetatypeToObjectInst *Inst) { |
3369 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3370 | 0 | recordClonedInstruction( |
3371 | 0 | Inst, getBuilder().createObjCExistentialMetatypeToObject( |
3372 | 0 | getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()), |
3373 | 0 | getOpType(Inst->getType()))); |
3374 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE |
3375 | | |
3376 | | template <typename ImplClass> |
3377 | 0 | void SILCloner<ImplClass>::visitObjCProtocolInst(ObjCProtocolInst *Inst) { |
3378 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3379 | 0 | recordClonedInstruction( |
3380 | 0 | Inst, getBuilder().createObjCProtocol(getOpLocation(Inst->getLoc()), |
3381 | 0 | Inst->getProtocol(), |
3382 | 0 | getOpType(Inst->getType()))); |
3383 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE |
3384 | | |
3385 | | template <typename ImplClass> |
3386 | 98 | void SILCloner<ImplClass>::visitKeyPathInst(KeyPathInst *Inst) { |
3387 | 98 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3388 | 98 | SmallVector<SILValue, 4> opValues; |
3389 | 98 | for (auto &op : Inst->getAllOperands()) |
3390 | 0 | opValues.push_back(getOpValue(op.get())); |
3391 | | |
3392 | 98 | recordClonedInstruction(Inst, |
3393 | 98 | getBuilder().createKeyPath( |
3394 | 98 | getOpLocation(Inst->getLoc()), Inst->getPattern(), |
3395 | 98 | getOpSubstitutionMap(Inst->getSubstitutions()), |
3396 | 98 | opValues, getOpType(Inst->getType()))); |
3397 | 98 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE16visitKeyPathInstEPNS_11KeyPathInstE CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Line | Count | Source | 3386 | 60 | void SILCloner<ImplClass>::visitKeyPathInst(KeyPathInst *Inst) { | 3387 | 60 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3388 | 60 | SmallVector<SILValue, 4> opValues; | 3389 | 60 | for (auto &op : Inst->getAllOperands()) | 3390 | 0 | opValues.push_back(getOpValue(op.get())); | 3391 | | | 3392 | 60 | recordClonedInstruction(Inst, | 3393 | 60 | getBuilder().createKeyPath( | 3394 | 60 | getOpLocation(Inst->getLoc()), Inst->getPattern(), | 3395 | 60 | getOpSubstitutionMap(Inst->getSubstitutions()), | 3396 | 60 | opValues, getOpType(Inst->getType()))); | 3397 | 60 | } |
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE16visitKeyPathInstEPNS_11KeyPathInstE _ZN5swift9SILClonerINS_13GenericClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Line | Count | Source | 3386 | 4 | void SILCloner<ImplClass>::visitKeyPathInst(KeyPathInst *Inst) { | 3387 | 4 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3388 | 4 | SmallVector<SILValue, 4> opValues; | 3389 | 4 | for (auto &op : Inst->getAllOperands()) | 3390 | 0 | opValues.push_back(getOpValue(op.get())); | 3391 | | | 3392 | 4 | recordClonedInstruction(Inst, | 3393 | 4 | getBuilder().createKeyPath( | 3394 | 4 | getOpLocation(Inst->getLoc()), Inst->getPattern(), | 3395 | 4 | getOpSubstitutionMap(Inst->getSubstitutions()), | 3396 | 4 | opValues, getOpType(Inst->getType()))); | 3397 | 4 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE16visitKeyPathInstEPNS_11KeyPathInstE Line | Count | Source | 3386 | 34 | void SILCloner<ImplClass>::visitKeyPathInst(KeyPathInst *Inst) { | 3387 | 34 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3388 | 34 | SmallVector<SILValue, 4> opValues; | 3389 | 34 | for (auto &op : Inst->getAllOperands()) | 3390 | 0 | opValues.push_back(getOpValue(op.get())); | 3391 | | | 3392 | 34 | recordClonedInstruction(Inst, | 3393 | 34 | getBuilder().createKeyPath( | 3394 | 34 | getOpLocation(Inst->getLoc()), Inst->getPattern(), | 3395 | 34 | getOpSubstitutionMap(Inst->getSubstitutions()), | 3396 | 34 | opValues, getOpType(Inst->getType()))); | 3397 | 34 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE16visitKeyPathInstEPNS_11KeyPathInstE |
3398 | | |
3399 | | template <typename ImplClass> |
3400 | | void SILCloner<ImplClass>::visitDifferentiableFunctionInst( |
3401 | 77 | DifferentiableFunctionInst *Inst) { |
3402 | 77 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3403 | 77 | llvm::Optional<std::pair<SILValue, SILValue>> derivativeFns = llvm::None; |
3404 | 77 | if (Inst->hasDerivativeFunctions()) |
3405 | 75 | derivativeFns = std::make_pair(getOpValue(Inst->getJVPFunction()), |
3406 | 75 | getOpValue(Inst->getVJPFunction())); |
3407 | 77 | recordClonedInstruction( |
3408 | 77 | Inst, getBuilder().createDifferentiableFunction( |
3409 | 77 | getOpLocation(Inst->getLoc()), Inst->getParameterIndices(), |
3410 | 77 | Inst->getResultIndices(), |
3411 | 77 | getOpValue(Inst->getOriginalFunction()), derivativeFns, |
3412 | 77 | getBuilder().hasOwnership() |
3413 | 77 | ? Inst->getForwardingOwnershipKind() |
3414 | 77 | : ValueOwnershipKind(OwnershipKind::None))); |
3415 | 77 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Line | Count | Source | 3401 | 14 | DifferentiableFunctionInst *Inst) { | 3402 | 14 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3403 | 14 | llvm::Optional<std::pair<SILValue, SILValue>> derivativeFns = llvm::None; | 3404 | 14 | if (Inst->hasDerivativeFunctions()) | 3405 | 14 | derivativeFns = std::make_pair(getOpValue(Inst->getJVPFunction()), | 3406 | 14 | getOpValue(Inst->getVJPFunction())); | 3407 | 14 | recordClonedInstruction( | 3408 | 14 | Inst, getBuilder().createDifferentiableFunction( | 3409 | 14 | getOpLocation(Inst->getLoc()), Inst->getParameterIndices(), | 3410 | 14 | Inst->getResultIndices(), | 3411 | 14 | getOpValue(Inst->getOriginalFunction()), derivativeFns, | 3412 | 14 | getBuilder().hasOwnership() | 3413 | 14 | ? Inst->getForwardingOwnershipKind() | 3414 | 14 | : ValueOwnershipKind(OwnershipKind::None))); | 3415 | 14 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Line | Count | Source | 3401 | 24 | DifferentiableFunctionInst *Inst) { | 3402 | 24 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3403 | 24 | llvm::Optional<std::pair<SILValue, SILValue>> derivativeFns = llvm::None; | 3404 | 24 | if (Inst->hasDerivativeFunctions()) | 3405 | 22 | derivativeFns = std::make_pair(getOpValue(Inst->getJVPFunction()), | 3406 | 22 | getOpValue(Inst->getVJPFunction())); | 3407 | 24 | recordClonedInstruction( | 3408 | 24 | Inst, getBuilder().createDifferentiableFunction( | 3409 | 24 | getOpLocation(Inst->getLoc()), Inst->getParameterIndices(), | 3410 | 24 | Inst->getResultIndices(), | 3411 | 24 | getOpValue(Inst->getOriginalFunction()), derivativeFns, | 3412 | 24 | getBuilder().hasOwnership() | 3413 | 24 | ? Inst->getForwardingOwnershipKind() | 3414 | 24 | : ValueOwnershipKind(OwnershipKind::None))); | 3415 | 24 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE _ZN5swift9SILClonerINS_13GenericClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Line | Count | Source | 3401 | 2 | DifferentiableFunctionInst *Inst) { | 3402 | 2 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3403 | 2 | llvm::Optional<std::pair<SILValue, SILValue>> derivativeFns = llvm::None; | 3404 | 2 | if (Inst->hasDerivativeFunctions()) | 3405 | 2 | derivativeFns = std::make_pair(getOpValue(Inst->getJVPFunction()), | 3406 | 2 | getOpValue(Inst->getVJPFunction())); | 3407 | 2 | recordClonedInstruction( | 3408 | 2 | Inst, getBuilder().createDifferentiableFunction( | 3409 | 2 | getOpLocation(Inst->getLoc()), Inst->getParameterIndices(), | 3410 | 2 | Inst->getResultIndices(), | 3411 | 2 | getOpValue(Inst->getOriginalFunction()), derivativeFns, | 3412 | 2 | getBuilder().hasOwnership() | 3413 | 2 | ? Inst->getForwardingOwnershipKind() | 3414 | 2 | : ValueOwnershipKind(OwnershipKind::None))); | 3415 | 2 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE Line | Count | Source | 3401 | 37 | DifferentiableFunctionInst *Inst) { | 3402 | 37 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3403 | 37 | llvm::Optional<std::pair<SILValue, SILValue>> derivativeFns = llvm::None; | 3404 | 37 | if (Inst->hasDerivativeFunctions()) | 3405 | 37 | derivativeFns = std::make_pair(getOpValue(Inst->getJVPFunction()), | 3406 | 37 | getOpValue(Inst->getVJPFunction())); | 3407 | 37 | recordClonedInstruction( | 3408 | 37 | Inst, getBuilder().createDifferentiableFunction( | 3409 | 37 | getOpLocation(Inst->getLoc()), Inst->getParameterIndices(), | 3410 | 37 | Inst->getResultIndices(), | 3411 | 37 | getOpValue(Inst->getOriginalFunction()), derivativeFns, | 3412 | 37 | getBuilder().hasOwnership() | 3413 | 37 | ? Inst->getForwardingOwnershipKind() | 3414 | 37 | : ValueOwnershipKind(OwnershipKind::None))); | 3415 | 37 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE |
3416 | | |
3417 | | template<typename ImplClass> |
3418 | 0 | void SILCloner<ImplClass>::visitLinearFunctionInst(LinearFunctionInst *Inst) { |
3419 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3420 | 0 | auto transpose = Inst->getOptionalTransposeFunction(); |
3421 | 0 | if (transpose) |
3422 | 0 | transpose = getOpValue(*transpose); |
3423 | 0 | recordClonedInstruction( |
3424 | 0 | Inst, |
3425 | 0 | getBuilder().createLinearFunction( |
3426 | 0 | getOpLocation(Inst->getLoc()), Inst->getParameterIndices(), |
3427 | 0 | getOpValue(Inst->getOriginalFunction()), |
3428 | 0 | getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind() |
3429 | 0 | : ValueOwnershipKind(OwnershipKind::None), |
3430 | 0 | transpose)); |
3431 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE |
3432 | | |
3433 | | template <typename ImplClass> |
3434 | | void SILCloner<ImplClass>::visitDifferentiableFunctionExtractInst( |
3435 | 100 | DifferentiableFunctionExtractInst *Inst) { |
3436 | 100 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3437 | 100 | llvm::Optional<SILType> explicitExtracteeType = llvm::None; |
3438 | 100 | if (Inst->hasExplicitExtracteeType()) |
3439 | 0 | explicitExtracteeType = Inst->getType(); |
3440 | 100 | recordClonedInstruction( |
3441 | 100 | Inst, |
3442 | 100 | getBuilder().createDifferentiableFunctionExtract( |
3443 | 100 | getOpLocation(Inst->getLoc()), Inst->getExtractee(), |
3444 | 100 | getOpValue(Inst->getOperand()), |
3445 | 100 | getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind() |
3446 | 100 | : ValueOwnershipKind(OwnershipKind::None), |
3447 | 100 | explicitExtracteeType)); |
3448 | 100 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Line | Count | Source | 3435 | 21 | DifferentiableFunctionExtractInst *Inst) { | 3436 | 21 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3437 | 21 | llvm::Optional<SILType> explicitExtracteeType = llvm::None; | 3438 | 21 | if (Inst->hasExplicitExtracteeType()) | 3439 | 0 | explicitExtracteeType = Inst->getType(); | 3440 | 21 | recordClonedInstruction( | 3441 | 21 | Inst, | 3442 | 21 | getBuilder().createDifferentiableFunctionExtract( | 3443 | 21 | getOpLocation(Inst->getLoc()), Inst->getExtractee(), | 3444 | 21 | getOpValue(Inst->getOperand()), | 3445 | 21 | getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind() | 3446 | 21 | : ValueOwnershipKind(OwnershipKind::None), | 3447 | 21 | explicitExtracteeType)); | 3448 | 21 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Line | Count | Source | 3435 | 33 | DifferentiableFunctionExtractInst *Inst) { | 3436 | 33 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3437 | 33 | llvm::Optional<SILType> explicitExtracteeType = llvm::None; | 3438 | 33 | if (Inst->hasExplicitExtracteeType()) | 3439 | 0 | explicitExtracteeType = Inst->getType(); | 3440 | 33 | recordClonedInstruction( | 3441 | 33 | Inst, | 3442 | 33 | getBuilder().createDifferentiableFunctionExtract( | 3443 | 33 | getOpLocation(Inst->getLoc()), Inst->getExtractee(), | 3444 | 33 | getOpValue(Inst->getOperand()), | 3445 | 33 | getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind() | 3446 | 33 | : ValueOwnershipKind(OwnershipKind::None), | 3447 | 33 | explicitExtracteeType)); | 3448 | 33 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE Line | Count | Source | 3435 | 46 | DifferentiableFunctionExtractInst *Inst) { | 3436 | 46 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3437 | 46 | llvm::Optional<SILType> explicitExtracteeType = llvm::None; | 3438 | 46 | if (Inst->hasExplicitExtracteeType()) | 3439 | 0 | explicitExtracteeType = Inst->getType(); | 3440 | 46 | recordClonedInstruction( | 3441 | 46 | Inst, | 3442 | 46 | getBuilder().createDifferentiableFunctionExtract( | 3443 | 46 | getOpLocation(Inst->getLoc()), Inst->getExtractee(), | 3444 | 46 | getOpValue(Inst->getOperand()), | 3445 | 46 | getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind() | 3446 | 46 | : ValueOwnershipKind(OwnershipKind::None), | 3447 | 46 | explicitExtracteeType)); | 3448 | 46 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE |
3449 | | |
3450 | | template<typename ImplClass> |
3451 | | void SILCloner<ImplClass>:: |
3452 | 0 | visitLinearFunctionExtractInst(LinearFunctionExtractInst *Inst) { |
3453 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3454 | 0 | recordClonedInstruction( |
3455 | 0 | Inst, getBuilder().createLinearFunctionExtract( |
3456 | 0 | getOpLocation(Inst->getLoc()), Inst->getExtractee(), |
3457 | 0 | getOpValue(Inst->getOperand()), |
3458 | 0 | getBuilder().hasOwnership() |
3459 | 0 | ? Inst->getForwardingOwnershipKind() |
3460 | 0 | : ValueOwnershipKind(OwnershipKind::None))); |
3461 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE |
3462 | | |
3463 | | template <typename ImplClass> |
3464 | | void SILCloner<ImplClass>::visitDifferentiabilityWitnessFunctionInst( |
3465 | 37 | DifferentiabilityWitnessFunctionInst *Inst) { |
3466 | 37 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3467 | 37 | recordClonedInstruction(Inst, |
3468 | 37 | getBuilder().createDifferentiabilityWitnessFunction( |
3469 | 37 | getOpLocation(Inst->getLoc()), |
3470 | 37 | Inst->getWitnessKind(), Inst->getWitness())); |
3471 | 37 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Line | Count | Source | 3465 | 14 | DifferentiabilityWitnessFunctionInst *Inst) { | 3466 | 14 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3467 | 14 | recordClonedInstruction(Inst, | 3468 | 14 | getBuilder().createDifferentiabilityWitnessFunction( | 3469 | 14 | getOpLocation(Inst->getLoc()), | 3470 | 14 | Inst->getWitnessKind(), Inst->getWitness())); | 3471 | 14 | } |
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Line | Count | Source | 3465 | 22 | DifferentiabilityWitnessFunctionInst *Inst) { | 3466 | 22 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3467 | 22 | recordClonedInstruction(Inst, | 3468 | 22 | getBuilder().createDifferentiabilityWitnessFunction( | 3469 | 22 | getOpLocation(Inst->getLoc()), | 3470 | 22 | Inst->getWitnessKind(), Inst->getWitness())); | 3471 | 22 | } |
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE _ZN5swift9SILClonerINS_15SILInlineClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE Line | Count | Source | 3465 | 1 | DifferentiabilityWitnessFunctionInst *Inst) { | 3466 | 1 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3467 | 1 | recordClonedInstruction(Inst, | 3468 | 1 | getBuilder().createDifferentiabilityWitnessFunction( | 3469 | 1 | getOpLocation(Inst->getLoc()), | 3470 | 1 | Inst->getWitnessKind(), Inst->getWitness())); | 3471 | 1 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE |
3472 | | |
3473 | | template <typename ImplClass> |
3474 | | void SILCloner<ImplClass> |
3475 | 0 | ::visitGetAsyncContinuationInst(GetAsyncContinuationInst *Inst) { |
3476 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3477 | 0 | recordClonedInstruction(Inst, |
3478 | 0 | getBuilder().createGetAsyncContinuation( |
3479 | 0 | getOpLocation(Inst->getLoc()), |
3480 | 0 | getOpASTType(Inst->getFormalResumeType()), |
3481 | 0 | Inst->throws())); |
3482 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE |
3483 | | |
3484 | | template <typename ImplClass> |
3485 | | void SILCloner<ImplClass> |
3486 | 36 | ::visitGetAsyncContinuationAddrInst(GetAsyncContinuationAddrInst *Inst) { |
3487 | 36 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3488 | 36 | recordClonedInstruction(Inst, |
3489 | 36 | getBuilder().createGetAsyncContinuationAddr( |
3490 | 36 | getOpLocation(Inst->getLoc()), |
3491 | 36 | getOpValue(Inst->getOperand()), |
3492 | 36 | getOpASTType(Inst->getFormalResumeType()), |
3493 | 36 | Inst->throws())); |
3494 | 36 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE _ZN5swift9SILClonerINS_13GenericClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Line | Count | Source | 3486 | 7 | ::visitGetAsyncContinuationAddrInst(GetAsyncContinuationAddrInst *Inst) { | 3487 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3488 | 7 | recordClonedInstruction(Inst, | 3489 | 7 | getBuilder().createGetAsyncContinuationAddr( | 3490 | 7 | getOpLocation(Inst->getLoc()), | 3491 | 7 | getOpValue(Inst->getOperand()), | 3492 | 7 | getOpASTType(Inst->getFormalResumeType()), | 3493 | 7 | Inst->throws())); | 3494 | 7 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE Line | Count | Source | 3486 | 29 | ::visitGetAsyncContinuationAddrInst(GetAsyncContinuationAddrInst *Inst) { | 3487 | 29 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3488 | 29 | recordClonedInstruction(Inst, | 3489 | 29 | getBuilder().createGetAsyncContinuationAddr( | 3490 | 29 | getOpLocation(Inst->getLoc()), | 3491 | 29 | getOpValue(Inst->getOperand()), | 3492 | 29 | getOpASTType(Inst->getFormalResumeType()), | 3493 | 29 | Inst->throws())); | 3494 | 29 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE |
3495 | | |
3496 | | template <typename ImplClass> |
3497 | | void SILCloner<ImplClass> |
3498 | 36 | ::visitAwaitAsyncContinuationInst(AwaitAsyncContinuationInst *Inst) { |
3499 | 36 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3500 | 36 | recordClonedInstruction(Inst, |
3501 | 36 | getBuilder().createAwaitAsyncContinuation( |
3502 | 36 | getOpLocation(Inst->getLoc()), |
3503 | 36 | getOpValue(Inst->getOperand()), |
3504 | 36 | getOpBasicBlock(Inst->getResumeBB()), |
3505 | 36 | Inst->getErrorBB() |
3506 | 36 | ? getOpBasicBlock(Inst->getErrorBB()) |
3507 | 36 | : nullptr)); |
3508 | 36 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE _ZN5swift9SILClonerINS_13GenericClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Line | Count | Source | 3498 | 7 | ::visitAwaitAsyncContinuationInst(AwaitAsyncContinuationInst *Inst) { | 3499 | 7 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3500 | 7 | recordClonedInstruction(Inst, | 3501 | 7 | getBuilder().createAwaitAsyncContinuation( | 3502 | 7 | getOpLocation(Inst->getLoc()), | 3503 | 7 | getOpValue(Inst->getOperand()), | 3504 | 7 | getOpBasicBlock(Inst->getResumeBB()), | 3505 | 7 | Inst->getErrorBB() | 3506 | 7 | ? getOpBasicBlock(Inst->getErrorBB()) | 3507 | 7 | : nullptr)); | 3508 | 7 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE Line | Count | Source | 3498 | 29 | ::visitAwaitAsyncContinuationInst(AwaitAsyncContinuationInst *Inst) { | 3499 | 29 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3500 | 29 | recordClonedInstruction(Inst, | 3501 | 29 | getBuilder().createAwaitAsyncContinuation( | 3502 | 29 | getOpLocation(Inst->getLoc()), | 3503 | 29 | getOpValue(Inst->getOperand()), | 3504 | 29 | getOpBasicBlock(Inst->getResumeBB()), | 3505 | 29 | Inst->getErrorBB() | 3506 | 29 | ? getOpBasicBlock(Inst->getErrorBB()) | 3507 | 29 | : nullptr)); | 3508 | 29 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE |
3509 | | |
3510 | | template <typename ImplClass> |
3511 | | void SILCloner<ImplClass> |
3512 | 169 | ::visitHopToExecutorInst(HopToExecutorInst *Inst) { |
3513 | 169 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3514 | 169 | recordClonedInstruction(Inst, |
3515 | 169 | getBuilder().createHopToExecutor( |
3516 | 169 | getOpLocation(Inst->getLoc()), |
3517 | 169 | getOpValue(Inst->getTargetExecutor()), |
3518 | 169 | Inst->isMandatory())); |
3519 | 169 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Line | Count | Source | 3512 | 8 | ::visitHopToExecutorInst(HopToExecutorInst *Inst) { | 3513 | 8 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3514 | 8 | recordClonedInstruction(Inst, | 3515 | 8 | getBuilder().createHopToExecutor( | 3516 | 8 | getOpLocation(Inst->getLoc()), | 3517 | 8 | getOpValue(Inst->getTargetExecutor()), | 3518 | 8 | Inst->isMandatory())); | 3519 | 8 | } |
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE _ZN5swift9SILClonerINS_13GenericClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Line | Count | Source | 3512 | 3 | ::visitHopToExecutorInst(HopToExecutorInst *Inst) { | 3513 | 3 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3514 | 3 | recordClonedInstruction(Inst, | 3515 | 3 | getBuilder().createHopToExecutor( | 3516 | 3 | getOpLocation(Inst->getLoc()), | 3517 | 3 | getOpValue(Inst->getTargetExecutor()), | 3518 | 3 | Inst->isMandatory())); | 3519 | 3 | } |
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE Line | Count | Source | 3512 | 158 | ::visitHopToExecutorInst(HopToExecutorInst *Inst) { | 3513 | 158 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); | 3514 | 158 | recordClonedInstruction(Inst, | 3515 | 158 | getBuilder().createHopToExecutor( | 3516 | 158 | getOpLocation(Inst->getLoc()), | 3517 | 158 | getOpValue(Inst->getTargetExecutor()), | 3518 | 158 | Inst->isMandatory())); | 3519 | 158 | } |
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE |
3520 | | |
3521 | | template <typename ImplClass> |
3522 | | void SILCloner<ImplClass> |
3523 | 0 | ::visitExtractExecutorInst(ExtractExecutorInst *Inst) { |
3524 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3525 | 0 | recordClonedInstruction(Inst, |
3526 | 0 | getBuilder().createExtractExecutor( |
3527 | 0 | getOpLocation(Inst->getLoc()), |
3528 | 0 | getOpValue(Inst->getExpectedExecutor()))); |
3529 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE |
3530 | | |
3531 | | template <typename ImplClass> |
3532 | 0 | void SILCloner<ImplClass>::visitHasSymbolInst(HasSymbolInst *Inst) { |
3533 | 0 | getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope())); |
3534 | 0 | recordClonedInstruction( |
3535 | 0 | Inst, getBuilder().createHasSymbol(getOpLocation(Inst->getLoc()), |
3536 | 0 | Inst->getDecl())); |
3537 | 0 | } Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE |
3538 | | |
3539 | | } // end namespace swift |
3540 | | |
3541 | | #endif |